[Clp] OsiClp resolve primal or dual simplex?

Matthew Galati magh at lehigh.edu
Fri May 30 17:27:02 EDT 2008


Matthew Galati wrote:
>>> Does OsiClp's "resolve()" use primal or dual simplex? I was always under 
>>> the impression that it used dual simplex, but I guess that only makes 
>>> more sense if you are adding rows (like, cut generation). What if you 
>>> are adding columns? Does it use primal simplex? Or is there some 
>>> heuristic that determines on the fly?
>>>
>>>     
>>>       
>> You can configure this using OsiHintsParams (I think the righ option is
>> OsiDoDualInResoilve).
>>
>> Note that clp may chose the wrong option if you don't give the hint.
>>   
>>     
> Thanks Paulo.
>
> Is there some status flag to tell what CLP decided to use primal or dual 
> simplex that I can check afterwards? The "resolve" function has lots of 
> conditions so it is hard to tell without tracing through line by line.
>   
It looks like there is a data member called lastAlgorithm_ that might 
contain this information. However, the data is protected. John - can you 
provide an access method to this information?

Thanks,
Matt




More information about the Clp mailing list