[Coin-discuss] OsiGlpkSolverInterface::getColLower()
Joseph Young
josyoun at nmt.edu
Wed Jul 6 15:50:06 EDT 2005
Hi,
The function OsiGlpkSolverInterface::getColLower() calculates both
the upper and lower bounds of a particular collumn, then stores them in
some internal variable. In order to find the upper bounds, the function
OsiGlpkSolverInterface::getColUpper actually calls
OsiGlpkSolverInterface::getColLower then looks at the internal variables.
Although this is technically correct, it doesn't really make sense from a
design point of view since the function getColLower doesn't simply find
the lower bounds, it calculates everything and stores it.
I believe that these functions should be separated so that
getColLower only finds the lower bounds and that getColUpper only finds
the upper bounds.
Sinc, Joseph Young
More information about the Coin-discuss
mailing list