help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Constrained Nonlinear Optimization problem


From: Ether Jones
Subject: Constrained Nonlinear Optimization problem
Date: Fri, 2 May 2014 19:40:13 -0400


Could someone please show me how to set up this problem in Octave?

Maximize (x + y)

Subject to constraints:

0 <= x <= 75

0 <= y <= 75

29.5 - sqrt(0.184*(x+y)^2 + x^2) >= 0.0

45.5 - sqrt(0.184*(x+y)^2 + y^2) >= 0.0


I have solved it with Maxima, Python, AMPL, and Excel and get the following answer:

x = 17.2

y = 38.7

But I'm having trouble setting it up in Octave

Thank you.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]