Comments (10)
Most importantly we need Py3!
from cylp.
Hey @tkralphs , do you think you might find a bit of time to check this issue out? Between this and py3 issues it's really a showstopper both for this lib and to the use of CBC with CVXPY.
from cylp.
Yes, I'll look at it as soon as I can.
from cylp.
Hey @tkralphs does the pip command work without setting the COIN_INSTALL env variable (or whatever it was)?
That is my biggest issues in using CyLP in reproducible Conda environments
from cylp.
When is it not enough to (possibly) install a few packages to get dependencies and then to install cylp?
My use case was running cylp inside an Amazon Lambda function. It took me weeks to get that working.
from cylp.
@tkralphs great work on making cylp work with Python 3 on Windows. I think making pip install cylp
work on Linux (and other OS's, for that matter) is really key to make it usable at production level.
from cylp.
I did take a look at these scripts. To understand everything they're doing and make the whole thing bulletproof looks like a good amount of work, so I guess I need to understand better what the need is for something like this. I have no problem myself doing pip install cylp
in Linux and I think it should work without a problem for most people, but I realize that the use case described in this issue is an entirely different animal. Are there many people out there with the need for such an installation procedure? When is it not enough to (possibly) install a few packages to get dependencies and then to install cylp? The scripts seem like overkill in all but a few cases.
from cylp.
BTW Kudos on the work you have been doing.
from cylp.
There has to be some way to find the installation, which was the purpose of that variable, but I've now added several other ways, including checking the PATH
for clp
and looking for .pc
files in the PKG_CONFIG_PATH
. If you've installed Cbc with a package manager in Linux or with Homebrew in OSX, you shouldn't need to do anything. I guess this is about as good as it can get. Let me know if there are further improvements I can make for your use case.
from cylp.
@matt-telstra Yeah, I did get your use case, but don't know how common that is and don't want to spend heaps of time making your solution bullet-proof if there's not much demand. Too many fish to fry :).
from cylp.
Related Issues (20)
- Use cibuildwheel HOT 12
- Build wheels for Apple Silicon and for other Linux archs
- getBInvARow, getBInvRow missing
- OsiSolverInterface methods not exposed to Python
- method for setting arbitrary parameters HOT 1
- Failed installing cylp using docker HOT 2
- how to surpress printing of simplex solver
- Cbc binary version to use? HOT 5
- test_MIP.py Error HOT 3
- Jupyter Kernel Dies at getCbcModel()
- `SIGSEGV` when choosing pivoting rule HOT 3
- Steepest Edge rule for CyLP HOT 1
- Why the basis inverse for artifical variable at first iteration is the identity matrix? HOT 3
- Installation broken on Ubuntu 22.04 with Conda 23.1.0 HOT 5
- cylp pip install error windows HOT 11
- ClpSimplex Memory Leak HOT 1
- Missing 0.91.6 wheels for Windows on PyPI HOT 3
- Circular import when importing cylp.cy and submodule(s) HOT 6
- Inconsistent indexing for initial variable bounds HOT 1
- Installation fails for Apple M3 - ImportError: symbol not found in flat namespace HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cylp.