Usage
Mixed Integer Users OnlyDescription
The routine CPXcopymipstart() is used to copy MIP starting values to an LP problem object of type CPXPROB_MIP.CPX_PARAM_MIPSTART must be set to 1 for the values to be used. If it is set to 0, the values will not be used.Return Value
The routine returns a zero on success, and a nonzero if an error occurs.Synopsis
int CPXcopymipstart (CPXENVptr env,
CPXLPptr lp,
int cnt,
int *indices,
double *value);
CPXENVptr envThe pointer to the CPLEX environment as returned by one of the
CPXopenCPLEX routines.
CPXLPptr lpA pointer to a CPLEX LP problem object as returned by
CPXcreateprob().
int cntAn integer giving the number of entries in the list.
int *indicesAn array of type integer containing the numerical indices of the columns corresponding to the variables which are assigned starting values.
double *valueAn array of type double containing the values to be used for the starting integer solution. The entry value[j] is the value assigned to variable indices[j]. An entry value[j] greater than or equal to CPX_INFBOUND indicates no value is set for variable indices[j].
status = CPXcopymipstart (env, lp, cnt, indices, value);