Group: sci.op-research
From: "minbenh@gmail.com"
Date: Thursday, March 27, 2008 9:03 PM
Subject: Re: How can I get the gap value in Cplex?


> minb...@gmail.com wrote:
Thank you.

> > 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