[Coin-discuss] several questions
Robin Lougee-Heimer
robinlh at us.ibm.com
Wed Nov 14 17:12:02 EST 2001
Hi Brady:
>2. .... Any thoughts on a COIN-based solution?
Sorry, I personally don't have a CPLEX license so I haven't run into that
one. But, I have run into the virtuous OSI const-ness in other situations.
I have expediently handled it as you proposed (but what I'd *really* like
is something like a deep user-copy of the OsiSolverInterface or the
OsiPackedMatrix constraint matrix).
>3. I'm trying to convince some friends to try COIN as well.
Good going, twist those arms :-)
>One of
>them is currently using some of CPLEX callable library's advanced
>functions like CPXpresolve and CPXbinvarow (get a row of the
>tableau). For the time being, COIN does not offer access to the
>presolver or specific tableau information, right?
As of now, that's right. There's no OSI hooks into presolve or tableau
information...but we need it.
A while back, Mikhail Nediak had proposed a OsiSimplexSolverInterface
class to enable him to get tableau access. That discussion coalesced with
other OSI extensions. Check out the recent posting by Laci Ladanyi and
response from Mikhail on OSI redesign for the latest on that front. As far
as I know, no one has taken a serious stab at proposing how the OSI should
handle pre-solve. Maybe you or your friends have some
ideas/suggestions??
Robin
----------------------------------------------------------------------------------
Robin Lougee-Heimer
IBM TJ Watson Research Center
ph: 914-945-3032 fax: 914-945-3434
robinlh at us.ibm.com
http://www.coin-or.org
Brady Hunsaker <hunsaker at isye.gatech.edu>@www-126.southbury.usf.ibm.com on
11/14/2001 11:28:38 AM
Please respond to coin-discuss at www-126.southbury.usf.ibm.com
Sent by: coin-discuss-admin at www-126.southbury.usf.ibm.com
To: coin-discuss at www-126.southbury.usf.ibm.com
cc:
Subject: [Coin-discuss] several questions
I am actually using COIN's OSI for some research for the first time
and I have come up with three questions. Answers to any would be
appreciated.
1. When using OSL as my solver, everything works well but I want to
stop all the output that OSL generates. Am I correct that there
is no way to do this through COIN? I have tried using OSL's
ekk_messagesPrintOff function directly but without success (it
compiles and links but just generates the output anyway). Any
suggestions?
2. My department doesn't have OSL (I've requested that they install
it since it's free) so I use CPLEX at school. I'm working with
solving the relaxation of a MIP and checking for fractional values
that should be integral. This isn't working for me. To solve the
relaxation, OsiCpxSolverInterface::initialSolve() converts the
problem to type CPXPROB_RELAXED, which makes sense.
Unfortunately, CPLEX then won't give information about whether
variables are integer or continuous. The CPLEX function that
won't work is CPXgetctype(), which is necessary for COIN's
isContinuous, isInteger, getFractionalIndices, etc.
As I see it, this is a bug in CPLEX's callable library (I think we
have version 7.0). Has anyone dealt with this problem? I
considered working around it by modifying
OsiCpxSolverInterface.cpp, but this doesn't look too wise. The
most likely workaround is to change the problem type to
CPXPROB_MIP before checking the types and then changing back
afterwards, but all of the functions like isContinuous are
declared const, since they're not supposed to change the problem.
For now, I plan to work around it by keeping type information in
my program and implementing my own equivalent of
getFractionalIndices. Any thoughts on a COIN-based solution?
3. I'm trying to convince some friends to try COIN as well. One of
them is currently using some of CPLEX callable library's advanced
functions like CPXpresolve and CPXbinvarow (get a row of the
tableau). For the time being, COIN does not offer access to the
presolver or specific tableau information, right?
Thanks for any help. Despite these questions, my overall experience
using COIN so far has been positive.
Brady
----------------
Brady Hunsaker
Georgia Institute of Technology
Program in Algorithms, Combinatorics, and Optimization
School of Industrial and Systems Engineering
E-mail address: hunsaker at isye.gatech.edu
_______________________________________________
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