Documents working with a fixed MIP.
Integer variables often represent major structural decisions in a model, and many continuous variables of the model may be related to these major decisions. With that observation in mind, if you take the integer variable solution values as given, then you can obtain useful post-solution information that applies only to the continuous variables, in the usual way. This observation about the information available only for continuous variables in a MIP is the idea behind the so-called "fixed MIP" problem. The fixed MIP is a form of the MIP problem where all of the discrete variables are placed at values corresponding to the MIP solution; that is, the discrete variables are fixed in the sense of set at a given value. Thus a fixed MIP is a continuous problem though not strictly a relaxation of the MIP.
If you wish to access dual information in such a problem, first optimize your MILP problem to create the fixed MILP problem; then re-optimize it, like this:
-
In Concert Technology, call the method solveFixed . (There is no explicit problem type in Concert Technology, so there is no need to change the problem type as in other components.)
-
In the Callable Library, call the routine CPXchgprobtype with the argument CPXPROB_FIXEDMILP as the problem type and then call CPXlpopt .
-
In the Interactive Optimizer, use these commands to change the problem type and re-optimize: