Skip to content

unable to run optimizeCbModel with error of "unrecongnized field name "dual" #2047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
blai1989 opened this issue Oct 4, 2022 · 2 comments
Open
3 tasks done

Comments

@blai1989
Copy link

blai1989 commented Oct 4, 2022

I changed to a new computer and reinstalled the cobratoolbox. The solver and so on were fine after checking with initCobraToolbox. Then I was trying to continue the work leftover for some FBA analysis, and the system returned with the following error message which I never met before:

                    Unrecognized field name "dual".

                    Error in optimizeCbModel (line 726)
                    if isempty(solution.dual)

Apart from the below, I also tried to solver the issue with some colleagues here next doors, but they also had no clue of why this happened.

May I please ask if you can help to give some advice to solve this problem?

Thanks very much!

Best regards,
Bin

I hereby confirm that I have:

  • Tried to solve the issue on my own
  • Retried to run my code with the latest version of The COBRA Toolbox
  • Checked that a similar issue has not already been opened

(Note: You may replace [ ] with [X] to check the box)

@rmtfleming
Copy link
Member

rmtfleming commented Oct 7, 2022 via email

@blai1989
Copy link
Author

blai1989 commented Oct 7, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants