coin-or / coin-or/python-mip

Crash when instantiating a Model class

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

Description

**Describe the bug**
I've just installed python-mip and instantiating a Model class with no parameter causes a crash.

**To Reproduce**
Executing this code:
```
from mip import Model

m = Model()
```
produces this error and triggers a python kernel restart:

> Windows fatal exception: access violation

**Expected behavior**
Instantiating a Model class should not produce any error.

**Desktop (please complete the following information):**
- Operating System, version: Windows 10, version 22H2
- Python version: 3.12.0
- Python-MIP version (we recommend you to test with the latest version): 1.14.2

**Additional context**
Executed within a Spyder IDE.

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.