Function GMP::SolverSession::GetBestBound(solverSession)

GMP::SolverSession::GetBestBound

The function GMP::SolverSession::GetBestBound returns the best known bound for a solver session.

GMP::SolverSession::GetBestBound(
     solverSession     ! (input) a solver session
     )

Arguments

solverSession

An element in the set AllSolverSessions.

Return Value

In case of success, 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 or QCP that are solved with GUROBI, if the GUROBI option Nonconvex Strategy is set to ‘Translate’.

  • For multi-objective models, the best bound refers to the (blended) objective with the highest priority.