Group: sci.op-research
From: weitan.wt@gmail.com
Date: Thursday, March 27, 2008 12:18 PM
Subject: Re: How can I get the gap value in Cplex?

On Mar 27, 7:36=A0am, Paul Rubin wrote:
> minb...@gmail.com wrote:
> > I use c++ Concert Technology =A0in cplex. I have set a limit time in
> > IloCplex::TiLim, but how can I get the gap value when it reaches the
> > limit time? Is there such a function in c++ API?
>
> I believe that IloCplex::getBestObjValue() will return the best bound
> among the surviving nodes. =A0The difference between that and the
> incumbent solution would be the gap.
>
> /Paul

Although it is trivial for a developer to get the gap by combining a
couple of IloCplex functions, it puzzles me why ILOG did not provide
it as a convenience function because almost every application needs to
get this info.

Wei

Safety Articles | Usenet Groups | Usenet News | Bluegrass