[Coin-discuss] New CPLEX 8.1 constant names

JP Fasano jpfasano at us.ibm.com
Sat Jan 11 09:49:12 EST 2003





> > I wonder if it should be OsiCpxV8SolverInterface so existing interface
will
> > continue to work with older version of CPLEX.
> > (Possibly OsiCpxV8SolverInterface might inherit from
> > OsiCpxSolverInterface).

> Depending on how much needs to be changed, maybe just a compiler switch
> would be enough.

Yes I agree with compiler switch.
With inheritance one might need both Cplex V7 and V8 for all of the symbols
to be resolved when compiling and linking.
This is clearly not a good thing.

JP Fasano
jpfasano at us.ibm.com
(914)945-1324  (tie line 862-1324)
COIN www.coin-or.org


|---------+------------------------------------------------>
|         |           Matthew Saltzman                     |
|         |           <mjs at ces.clemson.edu>                |
|         |           Sent by:                             |
|         |           coin-discuss-admin at www-124.southbury.|
|         |           usf.ibm.com                          |
|         |                                                |
|         |                                                |
|         |           01/11/2003 12:03 AM                  |
|         |           Please respond to coin-discuss       |
|         |                                                |
|---------+------------------------------------------------>
  >----------------------------------------------------------------------------------------------|
  |                                                                                              |
  |       To:       coin-discuss at www-124.southbury.usf.ibm.com                                   |
  |       cc:                                                                                    |
  |       Subject:  Re: [Coin-discuss] New CPLEX 8.1 constant names                              |
  |                                                                                              |
  >----------------------------------------------------------------------------------------------|




On Fri, 10 Jan 2003, JP Fasano wrote:

> >Is anyone
> >working on converting the OsiCpxSolverInterface.cpp code?
> Not that I know of, but I would not necessarily know.

The CPLEX solver in the upcoming OSI revision (watch this space) will be
v8 (at least if I write it).

> >If not, I'd be
> >willing to give it a shot since I only have access to CPLEX 8.1.
> It would be extremely nice to have.

While I agree, I would recommend making only the minimum changes to the
current CPLEX interface to get it working.  The next version of OSI should
require much less effort to produce solver interfaces for.

Unfortunately, not everyone on this team can produce code as fast as John
F.  Some of us have day jobs...

> I wonder if it should be OsiCpxV8SolverInterface so existing interface
will
> continue to work with older version of CPLEX.
> (Possibly OsiCpxV8SolverInterface might inherit from
> OsiCpxSolverInterface).

Depending on how much needs to be changed, maybe just a compiler switch
would be enough.  Lisa, can you take a look and report briefly on how
involved the update will be?

>
> JP Fasano
> jpfasano at us.ibm.com
> (914)945-1324  (tie line 862-1324)
> COIN www.coin-or.org
>
>
>
>                       Lisa Evans
>                       <evans at ima.umn.edu>            To:
coin-discuss at oss.software.ibm.com
>                       Sent by:                       cc:
>                       coin-discuss-admin at www-        Subject:
[Coin-discuss] New CPLEX 8.1 constant names
>                       124.ibm.com
>
>
>                       01/10/2003 06:01 PM
>                       Please respond to
>                       coin-discuss
>
>
>
>
>
>
> I'm trying to compile Osi with CPLEX 8.1 and have discovered that many
> CPLEX constant names have been changed sometime between version 7.5 and
> 8.1 .  Particularly, most of the status parameters have been renamed, as
> well as problem types (and CPXPROB_RELAXED no longer exists).  Is anyone
> working on converting the OsiCpxSolverInterface.cpp code?  If not, I'd be
> willing to give it a shot since I only have access to CPLEX 8.1.
>
> Lisa
>
> ----------------------------------------------
> Lisa Evans
> Institute for Mathematics and its Applications
> University of Minnesota
> evans at ima.umn.edu
>
> _______________________________________________
> Coin-discuss mailing list
> Coin-discuss at www-124.ibm.com
> http://www-124.ibm.com/developerworks/oss/mailman/listinfo/coin-discuss
>
>
>
> _______________________________________________
> 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.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






More information about the Coin-discuss mailing list