GithubHelp home page GithubHelp logo

JUMP time limit about cobrexa.jl HOT 5 CLOSED

exaexa avatar exaexa commented on September 25, 2024 1
JUMP time limit

from cobrexa.jl.

Comments (5)

mihai-sysbio avatar mihai-sysbio commented on September 25, 2024 1

Thanks for setting me down the right path with those modifications. It looks like I've gotten this to work with

increase_time_limit() = (model, opt_model) -> set_attribute(model, "TimeLimit", 5000)
flux_balance_analysis(...; modifications=[increase_time_limit()])

Perhaps then this feature isn't worth implementing, and just add this example in the documentation instead?

from cobrexa.jl.

exaexa avatar exaexa commented on September 25, 2024 1

OK I'll assume this as solved in 2.x and close, and add our favorite mark for code that didn't quite make it, so that we don't lose it for 1.x ...

Thanks again for reporting!

from cobrexa.jl.

stelmo avatar stelmo commented on September 25, 2024

Should be easy to do.

from cobrexa.jl.

exaexa avatar exaexa commented on September 25, 2024

Apparently there's even a solver-unspecific option for doing this with JuMP. I added an implementation of that into the next branch. Currently no plan to backport it to 1.x releases, but pls ping us if you'd use that, it's just an extra few minutes of commit juggling. :D

from cobrexa.jl.

mihai-sysbio avatar mihai-sysbio commented on September 25, 2024

Sounds good @exaexa I am happy with what I have and I am fully onboard with not back-porting this.

from cobrexa.jl.

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.