0

To solve optimization problems I have seen this:

enter image description here

Is there a more elegant way to do this with alternative conditional expressions? Is there something equivelant to if, elseif, else that you'd see in Matlab, Maple, RStudio, Ptyhon, etc?

m_goldberg
  • 107,779
  • 16
  • 103
  • 257

0 Answers0