problem.tune
problem.tune |
Purpose
Begin a tuner session for the current problem. The tuner will solve the problem multiple times while evaluating a list of control settings and promising combinations of them. When finished, the tuner will select and set the best control setting on the problem. Note that the direction of optimization is given by
xpress.attributes.objsense.
Synopsis
problem.tune(flags)
Argument
flags
|
Flags to specify whether to tune the current problem as an LP or a MIP problem, and the algorithm for solving the LP problem or the initial LP relaxation of the MIP. The flags are optional. If the argument includes:
|
Example
p.tune('dp')
This tunes the current problem. The problem type is automatically determined. If it is an LP problem, it will be solved with a concurrent run of the dual and primal simplex method. If it is a MIP problem, the initial LP relaxation of the MIP will be solved with a concurrent run of primal and dual simplex.
Further information
Please refer to the Xpress Optimizer reference manual for a detailed guide of how to use the tuner.