Giter Club home page Giter Club logo

Comments (10)

scollis avatar scollis commented on July 30, 2024 1

Most importantly we need Py3!

from cylp.

si14 avatar si14 commented on July 30, 2024 1

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.

tkralphs avatar tkralphs commented on July 30, 2024 1

Yes, I'll look at it as soon as I can.

from cylp.

scollis avatar scollis commented on July 30, 2024 1

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.

matt-telstra avatar matt-telstra commented on July 30, 2024 1

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.

GiorgioBalestrieri avatar GiorgioBalestrieri commented on July 30, 2024

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

tkralphs avatar tkralphs commented on July 30, 2024

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.

scollis avatar scollis commented on July 30, 2024

BTW Kudos on the work you have been doing.

from cylp.

tkralphs avatar tkralphs commented on July 30, 2024

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.

tkralphs avatar tkralphs commented on July 30, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.