Optim_Siman_Current_Objective_Value_Get()
Abstract
Gets the objective value of the current solution in an optimization engine instance.
Syntax
Optim_Siman_Current_Objective_Value_Get (optim_handle)
| Argument | Type | Description |
|---|---|---|
optim_handle |
OptimT_Siman_Handle |
The handle to the optimization engine instance whose current solution’s objective value should be obtained. |
Return Type
double
Objective value of the current solution.
Header
optim_siman.h
Details
This procedure is used to obtain the objective value of the current solution state in the optimization engine. It returns a value which should be equivalent to the value that would be returned if the optimization handle’s objective_value_proc from Optim_Siman_Solver_Create() was called on the current solution state.