YALMIP icon indicating copy to clipboard operation
YALMIP copied to clipboard

Write information when crashing due to nonlinear vector ojective

Open johanlofberg opened this issue 2 years ago • 0 comments

A common mistake is that users send vectors asobjective by mistake. This is sometimes discovered implicitly by seeing the crash which happens for nonlinear cases (multiple objectives only supported for linear case)

Inform user about the fact that a vector was sent in case this is not known, and then about the restriction to linears

johanlofberg avatar May 04 '22 14:05 johanlofberg