Coder Social home page Coder Social logo

metexplore / miom Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 2.0 2.3 MB

Constraint-based modeling of metabolism using Mixed Integer Optimization

Home Page: https://metexplore.github.io/miom

License: GNU General Public License v3.0

Python 100.00%
cobrapy constraint-based-modeling flux-balance-analysis genome-scale metabolism milp modeling optimization python reconstruction

miom's People

Contributors

louisonf avatar pablormier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

miom's Issues

Add method to return solver status

.get_solver_status() in BaseModel should return information about the total num of seconds for the search, the result (infeasible, optimal, etc) and the objective score

Merge indicator variables for the subset_selection problem

Add a method in _Variables to obtain both the raw indicator variables (2 per each positive weighted and reversible reaction, 1 for each negative weighted reaction or positive non-reversible reaction), and the reaction activity (1 if the reaction is active in any direction, 0 otherwise). Return these values with the method get_values() instead of the raw indicators, as they are hard to interpret for users.

Implement `integer_cut()` method

Add an integer cut to the current problem, taking by default the current assignations for the integer vars (if the problem was solved) or taking an optional vector with the values to cut from the problem.

Autodetect available solvers and decide backend

Implement a strategy to auto-select the right backend and solver. PICOS automatically decides the right solver based on the problem formulation. Switch to PICOS+GUROBI/CPLEX if they are available

Add copy() method to create different instances

model.copy() should return a new instance with a copy of the constraints and variables. This will allow to reuse partial instantiated models (e.g. not re-adding the steady state constraints)

Make mip lib optional

Issues with cffi lib with Google Colab, make Mip lib optional and PICOS the default lib for modeling

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.