Skip to content

segmentation fault using new pulp version (+rust) with latest highspy in Ubuntu #2921

@pchtsp

Description

@pchtsp

While migrating the core of PuLP to Rust, I got an interesting error that I'm now sharing.

In windows all tests pass and everything looks reasonable. However, when I try to run the same code on Linux, I get a segmentation fault only when I try to use HiGHS as a solver through the python API (highspy). So PuLP in Rust + Linux + HiGHS python API = segmentation fault. It fails at the first test, any test.

Some expensive LLM agent finally managed to "solve it" in pulp, or more accurately find a workaround.It's possible to look for the esoteric fix here: https://github.com/coin-or/pulp/blob/rust_core/pulp/__init__.py. I have no idea if the fix makes sense. Do any of you?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions