- Function GMP::Instance::GetBestBound(GMP)
GMP::Instance::GetBestBound
The function GMP::Instance::GetBestBound
returns the best known
bound for a generated mathematical program.
GMP::Instance::GetBestBound(
GMP ! (input) a generated mathematical program
)
Arguments
- GMP
An element in
AllGeneratedMathematicalPrograms
.
Return Value
In case of success, the function returns the best known bound. Otherwise it returns
UNDF
.
Note
This function can be used for GMPs with model type MIP, MIQP or MIQCP.
This function can also be used for GMPs solved with BARON, regardless of the model type.
This function can also be used for GMPs with model type QP that are solved with CPLEX, if the CPLEX option Solution Target is set to ‘Search for global optimum’.
This function can also be used for GMPs with model type QP, QCP, NLP or MINLP that are solved with GUROBI.
For multi-objective models, the best bound refers to the (blended) objective with the highest priority.
See also
The functions GMP::Instance::Generate
, GMP::Instance::GetMathematicalProgrammingType
and GMP::Instance::GetObjective
.