Skip to content

Conversation

@faesslerd
Copy link

I resolved small errors of the "QPold" option in optimizeWBModel, and added case 'QPold' to the function buildOptProblemFromModel

I hereby confirm that I have:

  • Tested my code on my own machine
  • Followed the guidelines in the Contributing Guide
  • Selected develop as a target branch (top left drop-down menu)

@github-actions
Copy link
Contributor

Summary:

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️
251 198 0 53

Failed Tests:

No failed tests ✨

Github Test Reporter by CTRF 💚

Copy link
Member

@rmtfleming rmtfleming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the justification for changing the parameters for how 'ibm_cplex' solves WBMs?
e.g. param.scaind = -1; was put in there for a purpose.
Most WBMs are on the borderline being too multiscale for a double precision solver so the default is to be careful, perhaps slower, to identify a truly optimal solution, than faster but perhaps only approximate the optimal solution.
e.g. test https://opencobra.github.io/cobratoolbox/stable/tutorials/tutorial_numCharactWBM.html with your model

@faesslerd
Copy link
Author

My rationale was to make the whole-body model feasible, which worked without setting parameters such as param.scaind = -1. I see why the parameter is necessary now. I was a bit too quick in changing it without understanding the original rationale. Thank you for the clarification and for sharing the link.

@faesslerd
Copy link
Author

I changed solverName to solverNameQP in case QPold as solverName is already defined as character variable in line 145 and this would then result in an error: "Unable to perform assignment because brace indexing is not supported for variables of this type.".

@github-actions
Copy link
Contributor

Summary:

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️
251 198 0 53

Failed Tests:

No failed tests ✨

Github Test Reporter by CTRF 💚

@rmtfleming
Copy link
Member

Farid can this be merged now?

@farid-zare
Copy link
Collaborator

@codex

@opencobra opencobra deleted a comment from chatgpt-codex-connector bot Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants