#include <MoochoPack_NLPSolverClientInterface.hpp>
Inheritance diagram for MoochoPack::NLPSolverClientInterface:
Constructors/initalizers | |
| void | set_nlp (const Teuchos::RefCountPtr< NLP > &nlp) |
| <<std comp="">> members for the nlp | |
| void | set_track (const Teuchos::RefCountPtr< AlgorithmTracker > &track) |
| <<std comp="">> members for the track | |
| NLPSolverClientInterface (int max_iter=10000, double max_run_time=1e+10, value_type opt_tol=1e-6, value_type feas_tol=1e-6, value_type comp_tol=1e-6, value_type step_tol=1e-2, EJournalOutputLevel journal_output_level=PRINT_ALGORITHM_STEPS, EJournalOutputLevel null_space_journal_output_level=PRINT_ALGORITHM_STEPS, int journal_print_digits=6, bool check_results=false, bool calc_conditioning=false, bool calc_matrix_norms=false, bool calc_matrix_info_null_space_only=false) | |
| Construct with no references set to nlp or track objects. | |
| virtual | ~NLPSolverClientInterface () |
| | |
Public Types | |
| enum | EFindMinReturn |
| More... | |
Solver Parameters | |
| void | max_iter (const int &max_iter) |
| Set the maximum number of iterations the rSQP algorithm can perform. | |
| void | max_run_time (const double &max_run_time) |
| Set the maximum run_time. | |
| void | opt_tol (const value_type &opt_tol) |
| Set the termination tolerance for the relative (scaled) linear dependence of the gradients part of the first order necessary optimality conditions. | |
| void | feas_tol (const value_type &feas_tol) |
| Set the termination tolerance for the (scaled) equality constraints ||c(x*)||inf which is part of the first order necessary optimality conditions. | |
| void | comp_tol (const value_type &comp_tol) |
| Set the termination tolerance for the complementarity condition for the (scaled) bound constraints which is part of the first order necessary optimality conditions. | |
| void | step_tol (const value_type &step_tol) |
| Set the termination tolerance for the change in the estimate of the solution. | |
| void | journal_output_level (const EJournalOutputLevel &journal_output_level) |
| Determine the amount of output to a journal file. | |
| void | null_space_journal_output_level (const EJournalOutputLevel &null_space_journal_output_level) |
| Determine the amount of output of the null space to a journal file. | |
| void | journal_print_digits (const int &journal_print_digits) |
| Set the precesion of the journal output. | |
| void | check_results (const bool &check_results) |
| Set whether computations will be double checked or not. | |
| void | calc_conditioning (const bool &calc_conditioning) |
| Set whether the condition numbers of important matrics is computed and printed or not. | |
| void | calc_matrix_norms (const bool &calc_matrix_norms) |
| Set whether or not matrix norms are computed and printed. | |
| void | calc_matrix_info_null_space_only (const bool &calc_matrix_info_null_space_only) |
| Set whether calc_conditioning and calc_matrix_norms apply to only null space matrices. | |
Solve the NLP | |
| virtual EFindMinReturn | find_min ()=0 |
| Find the minimun of the set NLP. | |
Algorithm description | |
| virtual void | print_algorithm (std::ostream &out) const =0 |
| Prints a description of the algorithm. | |
Algorithm timing | |
| virtual void | set_algo_timing (bool algo_timing)=0 |
| Causes algorithm to be timed. | |
| virtual bool | algo_timing () const =0 |
| | |
| virtual void | print_algorithm_times (std::ostream &out) const =0 |
| Outputs table of times for each step and the cummulative times. | |
ToDo: Finish documentaiton.
Definition at line 46 of file MoochoPack_NLPSolverClientInterface.hpp.
|
|
Definition at line 53 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Construct with no references set to nlp or track objects.
Definition at line 32 of file MoochoPack_NLPSolverClientInterface.cpp. |
|
|
Definition at line 161 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set the maximum number of iterations the rSQP algorithm can perform.
Definition at line 70 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set the maximum run_time.
Definition at line 74 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set the termination tolerance for the relative (scaled) linear dependence of the gradients part of the first order necessary optimality conditions.
Definition at line 79 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set the termination tolerance for the (scaled) equality constraints ||c(x*)||inf which is part of the first order necessary optimality conditions.
Definition at line 84 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set the termination tolerance for the complementarity condition for the (scaled) bound constraints which is part of the first order necessary optimality conditions.
Definition at line 90 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set the termination tolerance for the change in the estimate of the solution.
The test is: Definition at line 96 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Determine the amount of output to a journal file.
Definition at line 100 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Determine the amount of output of the null space to a journal file. This option allows the user to perform a higher level of output for quantities in the null space. Definition at line 107 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set the precesion of the journal output.
Definition at line 111 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set whether computations will be double checked or not.
Definition at line 115 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set whether the condition numbers of important matrics is computed and printed or not.
Definition at line 120 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set whether or not matrix norms are computed and printed.
Definition at line 124 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Set whether calc_conditioning and calc_matrix_norms apply to only null space matrices.
Definition at line 129 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
<<std comp="">> members for the nlp
Definition at line 137 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
<<std comp="">> members for the track
Definition at line 140 of file MoochoPack_NLPSolverClientInterface.hpp. |
|
|
Find the minimun of the set NLP.
This function returns
If the solution is not found, then
Preconditions:
Postcondtions:
Implemented in MoochoPack::NLPAlgoContainer. |
|
|
Prints a description of the algorithm.
Implemented in MoochoPack::NLPAlgoClientInterface, and MoochoPack::NLPAlgoContainer. |
|
|
Causes algorithm to be timed.
Call with Implemented in MoochoPack::NLPAlgoContainer. |
|
|
Implemented in MoochoPack::NLPAlgoContainer. |
|
|
Outputs table of times for each step and the cummulative times.
Call after Implemented in MoochoPack::NLPAlgoContainer. |
1.3.9.1