Example #1
0
long GenModelCplex::DeleteMipStarts()
{
    if(!bcreated)
        return ThrowError("ChangeBulkNz() not available : Problem not created yet");
    CplexData* d = (CplexData*)solverdata;
    int n = CPXgetnummipstarts(d->env, d->lp);
    if (n > 0)
        CPXdelmipstarts(d->env, d->lp, 0, n - 1);

    return 0;
}
Example #2
0
void CplexSolver::delMipStarts() {
	if (CPXgetnummipstarts(_env, _prob) > 1)
		CPXdelmipstarts(_env, _prob, 0, CPXgetnummipstarts(_env, _prob) - 1);
}