opencobra / cobratoolbox

The COnstraint-Based Reconstruction and Analysis Toolbox. Documentation:
https://opencobra.github.io/cobratoolbox
Other
246 stars 308 forks source link

#Error : unrecognized field name "dual" #2058

Closed SiYeon-Ju closed 1 year ago

SiYeon-Ju commented 1 year ago

Hi, When i run "optimizeCbModel" function with loopless on the latest version , I got the following error. but, I tried to replace the 'optimizeCbModel.m' file with that of the previous version, it can be run. how can i fix it?

Thanks!

-> Matlab R2022b / Gurobi 9.5.2 / Cobratoolbox 3

input) model_sol = optimizeCbModel(model, 'max', 0, 0 );

Output) Unrecognized field name "dual". Error in optimizeCbModel (line 726) if isemty(solution.dual)

ithiele commented 1 year ago

Fixed in new master version