|
OP
0.1
OP is a optimization solver plugin package
|
#include <op_waitloop.hpp>
Public Types | |
| using | ConstraintActionFn = std::function< void(int)> |
| using | UnknownActionFn = std::function< void(int)> |
Public Member Functions | |
| final_obj_ (final_obj) | |
| comm_ (comm) | |
| WaitLoop & | onUpdate (const ActionFn &update) |
| Set action to perform in Update state. | |
| WaitLoop & | onObjectiveGrad (const ActionFn &obj_grad) |
| Set action to perform in Objective Grad state. | |
| WaitLoop & | onObjectiveEval (const ActionFn &obj_eval) |
| Set action to perform in Objective Eval state. | |
| WaitLoop & | onConstraintsEval (const ConstraintActionFn &constraints_states) |
| Set action to perform in Constraint Eval state. | |
| WaitLoop & | onConstraintsGrad (const ConstraintActionFn &constraints_grad_states) |
| Set action to perform in Constraint Grad state. | |
| WaitLoop & | onSolution (const ActionFn &solution_state) |
| Set action to perform in Solution state. | |
| WaitLoop & | onUnknown (const UnknownActionFn &unknown_state) |
| Set action to perform in Unknown state. | |
| void | operator() () |
Public Attributes | |
| __pad0__: get_size_(get_size) | |
| Construct WaitLoop. | |
Protected Attributes | |
| std::function< int()> | get_size_ |
| double & | final_obj_ |
| MPI_Comm | comm_ |
| ActionFn | update_ |
| ActionFn | obj_grad_ |
| ActionFn | obj_eval_ |
| ConstraintActionFn | constraints_states_ |
| ConstraintActionFn | constraints_grad_states_ |
| ActionFn | solution_state_ |
| UnknownActionFn | unknown_state_ |
A functor-pattern for serialOptimizer WaitLoops Follows the Fluent interface pattern
Definition at line 35 of file op_waitloop.hpp.
1.8.5