[ library(eplex) | The ECLiPSe Libraries | Reference Manual | Alphabetic Index ]

EplexInstance:eplex_probe(+Objective, -Cost)

Invoke EplexInstance's external solver using a temporary objective function.
Objective
Temporary objective function
Cost
Value of solution

Description

Similar to eplex_solve/1, but optimize for a different objective function rather than the one that was specified during solver setup. After the call to this predicate, the original objective function is restored for the external solver. However, any constraints collected and the eplex values for the problem variables from the temporary objective function (obtainable from eplex_var_get/3) are retained.

Fail Conditions

External solver was unable to find a solution.

Exceptions

(eplex_suboptimal)
Solution was found, but is possibly suboptimal
(eplex_unbounded)
Problem is unbounded, no solution values
(eplex_unknown)
Result is unknown (infeasible or unbounded)
(eplex_abort)
External solver aborted for some reason

See Also

eplex_solve / 1, eplex_solver_setup / 1, eplex_solver_setup / 4