[Osi] How to change solve algorithm to Dual or Barrier with OsiClpSolverInterface ?

Matthew Galati matthew.galati at gmail.com
Thu Sep 8 09:12:56 EDT 2011

What function are you using to solve? 

Send the code snippet that sets the parameters and solves. 

Sent from my iPhone

On Sep 8, 2011, at 5:00 AM, Sylvain R <ross_dev at hotmail.com> wrote:

> Hello,
> I have been trying for quite a while to modify the algorithm that Clp uses to solve rather big linear problem. Clp says it is using Primal according to the solve-message I get (e.g. Clp0006I 6112  Obj 799905 Primal inf 50170.4 (1044)). 
> But I would like to try to solve with the Dual method, and even the Barrier method. With CPLEX I have been able to do that and it considerably improved the run time (by x2 and x3).
> I have been trying different ways:
> 1) call setIntParam with OsiDoDualInInitial to true.
> 2) call setSolveOptions(const ClpSolve & options) with the proper ClpSolve object with method set to Dual or Barrier.
> But it does not seem to change anything, it still goes at the same speed, nor does it display messages indicating it is doing anything differently.
> Any idea? is it possible altogether?
> Sylvain
> _______________________________________________
> Osi mailing list
> Osi at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/osi

More information about the Osi mailing list