[Coin-discuss] OsiClpSolverInterface error when enableSimplexInterface=true

Fanie Terblanche RKWSET at puknet.puk.ac.za
Tue Mar 2 09:11:53 EST 2004


Hi,

I've recently started looking at the OsiClpSolverInterface code. I
experienced some problems when enabling the simplex interface. Perhaps
there is someone that knows the code well enough to sort out the problem
within reasonable time. I could give it a go......but rather let me ask
the experts!!  Below is a small sample using exmip1.mps as input.

OsiClpSolverInterface solver1;
  int mpsReadError = solver1.readMps(argv[1]);
  assert(mpsReadError == 0);
  solver1.setHintParam(OsiDoScale,false,OsiHintDo);
  solver1.setHintParam(OsiDoPresolveInInitial,false,OsiHintDo);
  solver1.setHintParam(OsiDoDualInInitial,false,OsiHintDo);
  solver1.setHintParam(OsiDoPresolveInResolve,false,OsiHintDo);
  solver1.setHintParam(OsiDoDualInResolve,false,OsiHintDo);
  solver1.enableSimplexInterface(true);
  solver1.initialSolve();

When executing the above code the following assertion fails
ClpSimplexPrimal::pivotResult line 2146
assert (fabs(dj_[sequenceIn_])<1.0e-6);

Regards





Fanie Terblanche
School of Computer, Statistical, and Mathematical Sciences
North West University (Potchefstroom Campus)
Tel:   +27 (0)18 299 2536
Fax:  +27 (0)18 299 2557
www.puk.ac.za








More information about the Coin-discuss mailing list