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

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.