I am having trouble getting an answer to this question...Am I missing something that anybody can see.
Simplify[Minimize[{(
x (-a + x))/(-a +
H) + (1 - (-a + x)/(-a + H)) ((y (-b + y))/(-b + H) +
H (1 - (-b + y)/(-b + H))), 0 <= a < 100, 0 <= b < 100,
a < x < 100, b < y <= 100}, {x, y}]]
My problem is: The computer (a small netbook) takes forever and I keep having to abort the evaluation. So I would like to know if it is possible to get an answer maybe on a faster machine or am I doing something wrong
&&between the inequalities, not comas. Please check documentation for basicMinimizeexamples. – Vitaliy Kaurov Jun 16 '12 at 5:44Minimize[{x^2, 1 <= x <= 2}, x]for instance. – 0x4A4D♦ Jun 16 '12 at 14:10||. This is syntax Documentation shows: wolfram.com/xid/0bn5wuy-wtuty – Vitaliy Kaurov Jun 16 '12 at 15:24&&, which some people might not realize at once. However, last I checked, commas as separators for constraints (again, assuming conjunction!) works nicely; e.g.Minimize[{x^2 + y^2, 2 <= x <= 3, 2 <= y <= 3}, {x, y}]andMinimize[{x^2 + y^2, 2 <= x <= 3 && 2 <= y <= 3}, {x, y}]do the same thing. – 0x4A4D♦ Jun 16 '12 at 15:31H. Judging by the allowed ranges and the general form of the expression, I thinkH=100is a reasonable guess. WithH=100, the Minimize executes reasonably quickly, but gives a sloppy output (with redundant conditions) amounting to{x -> 37.5+.5a+.125b, y -> 50+.5b}ifa < 75+.25b. The minimum is then(16a^2+8a(b+300)+(b-1300)(b+300))/(64(a-100)). – Eric Thewalt Mar 13 at 7:10