- Function GMP::Instance::GetObjective(GMP)
GMP::Instance::GetObjective
The function GMP::Instance::GetObjective
returns the current
objective function value of a generated mathematical program.
GMP::Instance::GetObjective(
GMP ! (input) a generated mathematical program
)
Arguments
- GMP
An element in
AllGeneratedMathematicalPrograms
.
Return Value
In case of success, the function returns the current objective function value. Otherwise it returns
UNDF
.
Note
For multi-objective models, the objective value refers to the (blended) objective with the highest priority.
See also
The routines GMP::Instance::Generate
, GMP::Instance::Solve
and GMP::Instance::GetBestBound
.