Skip to content

optimization status -2 #1

@emilpaulitz

Description

@emilpaulitz

Thank you for developing this tool! I wanted to use this tool to make condition-specific plant models. However, when running [reconstruction, reconInd, LP] = swiftcore(model, t.Var1, ones(length(model.rxns), 1), 1e-3, true);, I get:

Warning: Optimization was stopped with status -2
 
> In core (line 76)
In swiftcore (line 113) 
Output argument "flux" (and possibly others) not assigned a value in the execution with "core" function.

Error in swiftcore (line 113)
    flux = core(model, blocked, weights, solver);
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Now, I guess the error results from the problem not being feasible. Before diving into the code of what the problematic LP is and does, do you have any suggestions what could cause this error and what to check in my model?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions