CPXXdelsolnpoolsolns and CPXdelsolnpoolsolns
The routine CPXXdelsolnpoolsolns/CPXdelsolnpoolsolns deletes a range
of solutions from the solution pool.
int CPXXdelsolnpoolsolns( CPXCENVptr env, CPXLPptr lp, int begin, int end )
int CPXdelsolnpoolsolns( CPXCENVptr env, CPXLPptr lp, int begin, int end )
Description
The routine CPXXdelsolnpoolsolns/CPXdelsolnpoolsolns deletes a range
of solutions from the solution pool. The range
is specified using a lower and upper index that represent the first and last
solution to be deleted, respectively.
The indices of the solutions following those
deleted are decreased by the number of deleted solutions.
Arguments
- env
-
A pointer to the CPLEX environment as returned by
CPXXopenCPLEX/CPXopenCPLEX. - lp
-
A pointer to a CPLEX problem object as returned by
CPXXcreateprob/CPXcreateprob. - begin
- An integer that specifies the numeric index of the first solution to be deleted.
- end
- An integer that specifies the numeric index of the last solution to be deleted.
Return
The routine returns 0 (zero) if successful and nonzero if an error occurs.Example
status = CPXdelsolnpoolsolns (env, lp, 10, 20);