ContentsIndexHome
PreviousUpNext
IAimmsMathProgramInfo::GetMIPStart Method

Get a MIP start.

virtual _LONG_T GetMIPStart(
    int max_no, 
    double values[], 
    int * level
) = 0;
Parameters 
Description 
int max_no 
The maximum number of columns for which the level value should be retrieved. 
double values[] 
The column level values. Length must be at least max_no
int * level 
A pointer to the location where the effort level is returned. 

The GetMIPStart method returns the actual number of columns for which the level value were retrieved.

The GetMIPStart method is used to retrieve from AIMMS the column level values from a solution in the solution repository of a (generated) math program.

  1. Normally max_no will be equal to the number of columns in the model, i.e., the value of IntegerMathProgramInfo::IPARAM_COLS, as passed to the DoSolve method.
  2. The first time the GetMIPStart method is called it will return the data of the first solution. The next call will return the data for the second solution, and so on.

Copyright © 1993–2016 by AIMMS B.V. All rights reserved.