coin-or / coin-or/CyLP

Segmentation Fault with Python 3.8.12 REPL Tab Completion

Open
#134 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JetBrains MPS
Stars
192
Forks
70
PR merge metrics
No merged PRs in 30d

Description

I'm getting a segmentation fault when using Tab completion on a CyClpSimplex object in a Python 3.8.12 REPL environment. Minimal working example:

```python
import numpy as np
from cylp.cy import CyClpSimplex

m = CyClpSimplex()
m. # Press TAB
```

Output:
```
Segmentation fault (core dumped)
```

I'm using CyLP on Ubuntu 20.04 in a conda environment.

Output of `pip show cylp`:

```
Name: cylp
Version: 0.91.4
Summary: A Python interface for CLP, CBC, and CGL
Home-page: https://github.com/coin-or/cylp
Author: Mehdi Towhidi (mehdi.towhidi@gerad.ca), Dominique Orban (dominique.orban@gerad.ca)
Author-email: mehdi.towhidi@gerad.ca
License: Eclipse Public License
Location: [REDACTED]
Requires: numpy, scipy
Required-by:
```

Output of `conda list | grep coin-or`:

```
coin-or-cbc 2.10.5 h9c3ff4c_6 conda-forge
coin-or-cgl 0.60.3 he7e83c3_2 conda-forge
coin-or-clp 1.17.6 h256e9bb_3 conda-forge
coin-or-osi 0.108.6 h3b589db_2 conda-forge
coin-or-utils 2.11.4 h573740c_3 conda-forge
```

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.