I'm sorry - I must be missing something really basic here, but how do you actually associate the parameters with a solver instance?
from ortools.linear_solver import pywraplp
s1 = pywraplp.Solver('myprob1',pywraplp.Solver.CBC_MIXED_INTEGER_PROGRAMMING)
... (set up of problem) ...
p1 = pywraplp.MPSolverParameters()
p1.SetDoubleParam(p.RELATIVE_MIP_GAP,0.001)
sol1 = s1.Solve()
Regardless of the numerical value used in the SetDoubleParam line, the solution is the same (even for ridiculously high values). So I'm clearly not associating the parameter with the actual solver instance, but I can't see how that should be done.
Also: is there a list somewhere of which actual parameters are exposed for each solver? For CBC, it looks like it's only RELATIVE_MIP_GAP and PRESOLVE? For SCIP I guess it's everything via SetSolverSpecificParametersAsString? But how about GLPK?
Thanks for a great piece of software.