Code Monkey home page Code Monkey logo

Comments (4)

AndrasHartmann avatar AndrasHartmann commented on June 14, 2024

As far as I remember it is the same if you set the solver to gurobi5, it will call the gurobi function, just check if the gurobi function is correct (e.g. 'which gurobi' points to your gurobi 6)

from cobratoolbox.

hscotthinton avatar hscotthinton commented on June 14, 2024

Thanks. If I change the solver to gurobi5 I get the following error

SWITCH expression must be a scalar or string constant.

Error in solveCobraQP (line 367)
switch printLevel

Error in MOMA (line 209)
QPsolution = solveCobraQP(QPproblem, 'printLevel', verbFlag-1);

Error in EthanolProduction_GDLS_Mutants_MOMA (line 21)
[solutionDel,solutionWT,totalFluxDiff,solStatus] =
MOMA(modelWT,modelMutant,'max','false')

Thanks for your help.

From: Andras Hartmann [mailto:[email protected]]
Sent: Saturday, February 20, 2016 10:53 AM
To: opencobra/cobratoolbox [email protected]
Cc: Scott Hinton [email protected]
Subject: Re: [cobratoolbox] MOMA (#118)

As far as I remember it is the same if you set the solver to gurobi5, it will call the gurobi function, just check if the gurobi function is correct (e.g. 'which gurobi' points to your gurobi 6)


Reply to this email directly or view it on GitHubhttps://github.com//issues/118#issuecomment-186658539.

from cobratoolbox.

mlehoai avatar mlehoai commented on June 14, 2024

Dear Scott,
There is an error when you use the function MOMA. The last input should be false but not 'false'. The line 21 of EthanolProduction_GDLS_Mutants_MOMA should be
MOMA(modelWT,modelMutant,'max',false)
Regards,

Minh Le

from cobratoolbox.

hscotthinton avatar hscotthinton commented on June 14, 2024

Minh,
Well that was embarrassing! Thanks so much!
Scott

From: Minh Le [mailto:[email protected]]
Sent: Monday, February 29, 2016 2:26 AM
To: opencobra/cobratoolbox [email protected]
Cc: Scott Hinton [email protected]
Subject: Re: [cobratoolbox] MOMA (#118)

Dear Scott,
There is an error when you use the function MOMA. The last input should be false but not 'false'. The line 21 of EthanolProduction_GDLS_Mutants_MOMA should be
MOMA(modelWT,modelMutant,'max',false)
Regards,

Minh Le


Reply to this email directly or view it on GitHubhttps://github.com//issues/118#issuecomment-190121049.

from cobratoolbox.

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.