coin-or / coin-or/python-mip

Bug when number of threads is given to model

Open
#311 0 comments 0 reactions 0 assignees View on GitHub
bug cbc
Dominant language
Linear Programming
Stars
600
Forks
108
PR merge metrics
No merged PRs in 30d

Description

Since MIP 1.14, I get an issue with the number of threads. With version 1.13 there was no problem.

I run on a Windows OS with Python version 3.9.10
I use CBC as solver.

Hereby I uploaded an example of the source code. It is a txt-file, as Python-files are not supported here.

On line 89 the number of threads is defined to the model.
When the value is >0, the optimization fails somewhere.
When the value is -1, there is no issue.
[mainPlainText.txt](https://github.com/coin-or/python-mip/files/9866820/mainPlainText.txt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.