[Coin-discuss] CLP dual ray broken
John J Forrest
jjforre at us.ibm.com
Thu Dec 16 17:27:44 EST 2004
Matt,
I was trying to speed up branch and bound by skipping creation of ray in
some cases. It was all on switches but I messed it up.
Should be okay now.
John
magh at lehigh.edu
Sent by: coin-discuss-bounces at list.coin-or.org
12/16/2004 03:52 PM
Please respond to
Discussions about open source software for Operations Research
To
coin-discuss at list.coin-or.org
cc
Subject
[Coin-discuss] CLP dual ray broken
Last time I used OsiClp::getDualRays( ), it was fine. This was about 2
months
ago. Something seems wrong with a recent update. Here is a small test
using
itest6.mps from COIN/Mps/Infeas - it retuns NULL for the ray.
#include "OsiClpSolverInterface.hpp"
#include <assert.h>
#include <vector>
int main(int argc, char ** argv){
OsiClpSolverInterface si;
si.readMps("itest6.mps");
si.initialSolve();
printf("\nSTAT: %d, 2nd STAT: %d",
si.getModelPtr()->problemStatus(),
si.getModelPtr()->secondaryStatus());
std::vector<double*> dual_rays = si.getDualRays(1);
assert(dual_rays[0]);
}
Thanks,
Matt
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20041216/a9436c92/attachment.html>
More information about the Coin-discuss
mailing list