[Coin-discuss] assert in OsiOsl resolve
Xiaoyun Kong
kong55 at us.ibm.com
Wed Apr 9 11:47:16 EDT 2003
Dear OsiOsl,
How do you handle the errors caused by the ekk_**Simplex call? Those calls
return a nonzero value if error occurred, zero
otherwise. Can we modify ( in blue) it as the following ?
void OsiOslSolverInterface::resolve()
{
EKKModel* model = getMutableModelPtr();
ekk_mergeBlocks(model, 1);
ekk_setIiternum(model, 0);
// Switch off printing if asked to
......
int rcode;
#if 0
rcode= ekk_dualSimplex(model); // *FIXME* : why not 0 (eitherSimplex)
#else
rcode= ekk_simplex(model, 256 + 32); // no presolve and no scaling
#endif
assert(rcode == 0);
}
Best,
Sharon (Xiaoyun) Kong
==================================================
Manufacturing and Yield Enhancement
IBM EDA Fishkill
Phone: 845-892-4489
T/L: 532-4489
More information about the Coin-discuss
mailing list