OP
0.1
OP is a optimization solver plugin package
|
Public Member Functions | |
void | setObjective (op::Functional &) override |
Sets the optimization objective. More... | |
double | Solution () override |
What to do when the solution is found. Return the objetive. | |
![]() | |
Optimizer () | |
Ctor has deferred initialization. | |
iterate ([](){}) | |
save ([](){}) | |
final_obj (std::numeric_limits< double >::max()) | |
virtual void | addConstraint (Functional &) |
Adds a constraint for the optimization problem. More... | |
void | Go () |
Start the optimization. | |
void | UpdatedVariableCallback () |
What to do when the variables are updated. | |
void | Iteration () |
What to do at the end of an optimization iteration. | |
void | SaveState () |
Saves the state of the optimizer. | |
virtual | ~Optimizer ()=default |
Destructor. | |
Additional Inherited Members | |
![]() | |
op::Go | go |
Go function to start optimization. | |
CallbackFn | update |
Update callback to compute before function calculations. | |
CallbackFn | iterate |
iterate callback to compute before | |
CallbackFn | save |
callback for saving current optimizer state | |
double | final_obj |
final objective value | |
Definition at line 4 of file test_optimizer.cpp.
|
inlineoverridevirtual |
Sets the optimization objective.
[in] | o | Objective Functional |
Implements op::Optimizer.
Definition at line 8 of file test_optimizer.cpp.