Skip to content

[BUG] SVD did not converge while trying to sample flux solutions #1461

@nnursimulu

Description

@nnursimulu

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

I am trying to sample multiple flux solutions for my model with the code snippet that follows.

I keep getting an error that SVD did not converge. My model is quite big, so I decided to try to remove blocked reactions from the model. However, this does not change anything: the SVD still does not converge. Do you have any recommendation for how I can fix this?

Code sample

Code run:

optgp = cb.sampling.OptGPSampler(model, processes=40)
df_mult = optgp.sample(100)

Traceback:

SVD did not converge

Environment

### Package Information
Package Version
cobra 0.29.0

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions