[Coin-discuss] XPRESS and OSI
Jesper Hansen
jesper at carmen.se
Fri Oct 31 08:30:21 EST 2003
Hi again
Here is a stripped down example reading an mps-file, solving the LP with
initialSolve(), setting integer restrictions, solving with branchAndBound()
and finally solving with initialSolve(). Please ignore the license specific
include and function call.
Now I get the following output:
Coin0001I At line 1 NAME
Coin0001I At line 2 ROWS
Coin0001I At line 46 COLUMNS
Coin0001I At line 507 RHS
Coin0001I At line 520 RANGES
Coin0001I At line 530 BOUNDS
Coin0001I At line 794 ENDATA
Coin0002I Problem has 42 rows, 263 columns and 668 elements
Coin0008I read with 0 errors
The optimal solution is
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
with objective value = 87941
The optimal solution is
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
with objective value = 87941
The optimal solution is
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
with objective value = 1.00834e+007
I hope that the example is useful.
'Jesper
> -----Original Message-----
> From: coin-discuss-admin at www-124.ibm.com
> [mailto:coin-discuss-admin at www-124.ibm.com]On Behalf Of Matthew Saltzman
> Sent: Thursday, October 30, 2003 6:40 PM
> To: COIN-discuss
> Subject: Re: [Coin-discuss] XPRESS and OSI
>
>
> On Thu, 30 Oct 2003, Jesper Hansen wrote:
>
> > Hi
> >
> > After a call to branchAndBound() I want to restore the LP
> solution. For that
> > I call initialSolver()? For Cplex it works, but on Xpress the
> solution is
> > crap. I'm using Xpress-MP 2003. Any ideas?
>
> Can you send a short example I can play with (directly to me is fine).
>
> Thanks.
>
> >
> > 'Jesper
> >
> > ---
> > Jesper Hansen mailto:jesper at carmenconsulting.com
> > Carmen Consulting, Købmagergade 53 3., DK-1150 Kbh K, Denmark
> > Telephone: +45 33 17 91 92 Mobile: +45 61 33 29 69
> > http://www.carmenconsulting.com
> >
> >
> > _______________________________________________
> > Coin-discuss mailing list
> > Coin-discuss at www-124.ibm.com
> > http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss
> >
>
> --
> Matthew Saltzman
>
> Clemson University Math Sciences
> mjs AT clemson DOT edu
> http://www.math.clemson.edu/~mjs
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at www-124.ibm.com
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fail.cpp
Type: application/octet-stream
Size: 1479 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20031031/65783681/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fail.mps
Type: application/octet-stream
Size: 39991 bytes
Desc: not available
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20031031/65783681/attachment-0001.obj>
More information about the Coin-discuss
mailing list