CyLP icon indicating copy to clipboard operation
CyLP copied to clipboard

method for setting arbitrary parameters

Open Marie73 opened this issue 2 years ago • 1 comments

Hello,

I use cvxpy with cbc solver from CyLP to solve ILP problem of a big size.

Parameters which I pass to cvxpy function solve: problem.solve(verbose=True, solver='CBC', numberThreads = 1, allowablePercentageGap = 1) are not later used in CyLP. Because the problem is big I want to use more threads for counting.

Is it possible to add method for setting arbitrary parameters and use more threads to solve problem?

Discussion on this topic here: https://github.com/coin-or/Cbc/issues/489

Marie73 avatar Apr 13 '22 10:04 Marie73

CyLP does have the writeMPS(), and you can use the .mps file from command-line cbc and pass thoseparameters in, via the command line. You can more quickly find out whether or not multithreading will really result in significant speedup. On Wednesday, April 13, 2022, 03:08:47 AM PDT, Marie73 @.***> wrote:

Hello,

I use cvxpy with cbc solver from CyLP to solve ILP problem of a big size.

Parameters which I pass to cvxpy function solve: problem.solve(verbose=True, solver='CBC', numberThreads = 1, allowablePercentageGap = 1) are not later used in CyLP. Because the problem is big I want to use more threads for counting.

Is it possible to add method for setting arbitrary parameters and use more threads to solve problem?

Discussion on this topic here: coin-or/Cbc#489

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

rsemenoff avatar Apr 13 '22 19:04 rsemenoff