Hello
You can set any CPLEX parameter from Docplex. the property `Model.parameters` returns a hierarchical parameter structure, from whoch you can get and set values,
just as with the CPLEX Python API.
In your case:
mdl.parameters.emphasis.mip = 2 # any value from 0 to 5
or
mdl.parameters.mip.tolerances.mipgap = 0.02
to set the MIP gap limit.
Hope this helps
Philippe.
------------------------------
Philippe Couronne
------------------------------
Original Message:
Sent: Wed May 12, 2021 12:03 AM
From: David Rey
Subject: MIP emphasis
Hello,
Is it possible to use CPLEX's MIPEmphasis parameter in docplex?
I am talking specifically about this parameter: https://www.ibm.com/docs/en/icos/12.10.0?topic=optimizer-emphasizing-feasibility-optimality
If yes, would it be possible to know how to use it? I couldn't find it in the docplex mp documentation.
Thank you,
David
------------------------------
David Rey
------------------------------
#DecisionOptimization