Skip to content

Using Microbiome Modelling Toolbox with Gurobi? #2449

Open
@nickp60

Description

@nickp60

Is it possible to configure the Microbiome Modelling toolkit to use Gurobi? It appears that modern releases of CPLEX are unsupported, and I am not able to run generateMexFastFVA successfully, where I get the error:

generateMexFastFVA()
 > isCompatible: The compatibility can only be verified on the following mac OS versions: macOS 10.13+.
 > isCompatible: The solver compatibility cannot be verified with MATLAB R2024b.
Warning: As the ibm_cplex interface is not compatible, the generated MEX file might
not be compatible. 
> In generateMexFastFVA (line 34) 
 > The exact version of CPLEX could not be determined
Error using generateMexFastFVA (line 80)
The directory /include/ilcplex does not exist. Please install the CPLEX solver as
explained here.
 

I set changeCobraSolver('gurobi','LP'); but mgPipe still falls back to CPLEX.

I'm running '24.2.0.2863752 (R2024b) Update 5' on MacOS 14.6.1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions