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

Hello! I'm trying to use `CyCbcModel` to solve a supply/demand problem with the enforcement of minimum supply. The most desirable outcome of the model is the marginal price. In case...

First off, thank you for a wonderful, wonderful tool. CyLP has saved me so much time already :+1: I may well be doing things wrong, but I often find myself...

enhancement

The use of `numpy.matrix` is discuraged since numpy 1.15 From the docs([1.15](https://docs.scipy.org/doc/numpy-1.15/reference/generated/numpy.matrix.html#numpy.matrix) / [stable](https://numpy.org/doc/stable/reference/generated/numpy.matrix.html)): > Note > It is no longer recommended to use this class, even for linear algebra....

Hello, this may have been reported before but there is an annoying issue with size one variables when trying to multiply them by a matrix. Here is an example. I...

When I try and build @jjhelmus's branch I get the following error: gcc -pthread -B /home/rjackson/anaconda3/envs/adi_env3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./cylp/cpp -I./cylp/cy -I/home/rjackson/anaconda3/envs/adi_env3/include/coin -I/home/rjackson/anaconda3/envs/adi_env3/lib/python3.6/site-packages/numpy/core/include -I....

information

I was wondering if it is possible to ask CBC to use a constraint satisfied solution as the initial integer solution, instead of starting from the continuous (relaxed) solution. Does...

enhancement

Hello, I'm trying to implement my own simple branch and bound algorithm using Cylp. I want to use the basis in the parent node to warm start the child node....

Hello, I'm writing the cutting plane algorithm. I want to add constraints to cut the original solution. I find that it is not supported to add constraints for the slack...

When I add one more line model.getBasisStatus(). The result changes. ``` import numpy as np from cylp.cy import CyClpSimplex from cylp.py.modeling.CyLPModel import CyLPArray A = [[50, 31], [-3, 2, ]]...

Hi, after updating to v0.91.0, my import of CyClpSimplex no longer works it give me the error "AttributeError: type object 'cylp.cy.CyClpSimplex.CyClpSimplex' has no attribute '__reduce_cython__' ". Also, before updating to...