Group: sci.op-research
From: Paul Rubin
Date: Thursday, March 27, 2008 9:36 AM
Subject: Re: How can I get the gap value in Cplex?

minbenh@gmail.com wrote:
> I use c++ Concert Technology in 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. The difference between that and the
incumbent solution would be the gap.

/Paul

Safety Articles | News in English | 20lbs in 30 days | Bluegrass | Usenet Newsfeeds