CyLP icon indicating copy to clipboard operation
CyLP copied to clipboard

A Python interface to CLP, CBC, and CGL to solve LPs and MIPs.

Results 64 CyLP issues
Sort by recently updated
recently updated
newest added

I am trying to use [PyART](https://github.com/ARM-DOE/pyart) function [phase_proc_lp](https://arm-doe.github.io/pyart/API/generated/pyart.correct.phase_proc_lp.html) (pyart.correct.phase_proc_lp(radar, 2.0, self_const = 12000.0, low_z=0.0, high_z=53.0, min_phidp=0.01, min_ncp=0.3, min_rhv=0.8, LP_solver='cylp_mp', proc=15)) on CENTOS 7 which makes use of the CyLP package,...

It is difficult to tell whether it's CyLP issue or cvxpy issue but i'm using CyLP with cvxpy. I got these verbose output: (I tried the pypi version as well...

When multiplying by a constant before or after a variable.sum() I get a wrong / good answer ```python from cylp.cy.CyClpSimplex import CyClpSimplex s = CyClpSimplex() x = s.addVariable("x", 2) y...

The following code runs correctly for `count = 2`, but fails with `count = 1`. ``` #!/usr/bin/env python from cylp.cy import CyClpSimplex from cylp.py.modeling.CyLPModel import CyLPArray count = 2 s...

If one wants to build constraints without adding the directly to a model, the CyLPExpr is "corrupted". Indeed, each operation on a CyLPExpr has the strong side effect of modifying...

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...

It seems that Cylp model doesn't support both the upper bound and lower bound to be numpy array. Do you plan to add this feature? ``` import numpy as np...

```bash $ python Python 3.6.13 | packaged by conda-forge | (default, Sep 23 2021, 07:56:31) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from...

I'm trying to run the example given for cbcModel, but adding a PreProcessing cut generator (full context: I was trying to solve a much bigger problem and running into the...