Community Profile

photo

Javier Garcia


Last seen: 2 years 前 自 2020 起处于活动状态

统计数据

  • Thankful Level 1

查看徽章

Content Feed

排序方式:

提问


How do I minimize a function graphically?
I am trying to minimize f (x1, x2) = (x1 − 1)^2 + (x2 − 5)^2 subject to −x1^2 + x2 ≤ 4 −(x1 − 2)^2 + x2 ≤ 3 My MATLAB code...

2 years 前 | 1 个回答 | 0

1

个回答

提问


I'm trying to maximize the following function given the constraints using linprog, but I can't seem to figure it out. What am I doing wrong?
Maximize f= 5x+2y subject to 3x + 4y ≤ 24 x − y ≤ 3 x + 4y ≤ 4 3x + y ≥ 3 x ≥ 0, y ≥ 0 MATLAB CODE: clc, clear all ...

2 years 前 | 1 个回答 | 0

1

个回答