[Coin-discuss] "empty" LP's in OsiCpx
Stefan Vigerske
stefan at mathematik.hu-berlin.de
Tue May 4 10:09:15 EDT 2004
Hi,
I've a "problem" with the CPLEX-interface:
OsiCpxSolverInterface::loadProblem, line 2169:
if( nr == 0 || nc == 0 ) {
// empty LP? -> kill old LP
gutsOfDestructor();
return;
}
Why is an LP assumed to be empty, if it contains no rows?
Why can't I minimize a linear function just regarding box constraints?
Shouldn't it be just "if (nc==0) ..."?
I "solved" this problem by adding an empty row.
Greetings,
Stefan
--
Stefan Vigerske Student assistant
Humboldt University Berlin Numerical Mathematics
More information about the Coin-discuss
mailing list