This PR adds an additional option to solver_params, in the form of solver_factory_params. These are parameters that are added to the solver at creation time. This is relevant in the following example:
When using Gurobi Cloud, you must set the cloud parameters at creation time. Passing in these after creation does nothing, since the environment is already created to be the local environment.
To use this, during the creation of an optimizer, the params dictionary that is passed to the Optimizer should include the following:
This PR adds an additional option to
solver_params
, in the form ofsolver_factory_params
. These are parameters that are added to the solver at creation time. This is relevant in the following example:When using Gurobi Cloud, you must set the cloud parameters at creation time. Passing in these after creation does nothing, since the environment is already created to be the local environment.
To use this, during the creation of an optimizer, the
params
dictionary that is passed to the Optimizer should include the following: