--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+unsubscribe@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at https://groups.google.com/group/ampl.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+unsubscribe@googlegroups.com.
SOC = ampl.getVariable('S').getValues.getColumnAsDoubles('val');
so to save lagrange multiplier I tried
PlimDual = ampl.getVariable('PLim.dual').getValues.getColumnAsDoubles('val');
I faced this error :
Struct contents reference from a non-struct array object.
Error in runMPC_LLC_Bat_interp3_dual (line 68)
PlimDual = ampl.getVariable('PLim.dual').getValues.getColumnAsDoubles('val');
Do you have any idea how I can fix that?
Thanks
Mahraz
ampl.getData('PLim.dual').getColumnAsDoubles('PLim.dual')
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+unsubscribe@googlegroups.com.