Closed SiYeon-Ju closed 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)
Fixed in new master version
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)