gtrsk / or-tools

Automatically exported from code.google.com/p/or-tools
0 stars 0 forks source link

Cannot set (Linear)-SolverParameters or solver-specific parameters for CBC in .Net #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to solve a LP by using different parameters (especially different 
from the default parameters). I tried to set some solver specific parameters 
for CBC by two different ways:

1. I  tried to change the default values of the parameters LP_ALGORITHM, 
BARRIER and DUAL by using the SetIntegerParam/SetDoubleParam-methods, but the 
values are unchanged afterwards. The other default-parameters are changeable by 
using this methods.

2. Additionally, I tried to use SetSolverSpecificParametersAsString() with a 
string of CBC-specific parameters. Currently, 
SetSolverSpecificParametersAsString() always returns false, unless the input is 
empty. Could you give me an example to use this method?

What version of the product are you using? On what operating system?
.Net OrTools.dll Version 3236 

Original issue reported on code.google.com by luisachr...@googlemail.com on 10 Apr 2014 at 9:10