Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 32491

Questions on the optimization functions of Mathematica such as FindMinimum/FindMaximum, Minimize/Maximize, NMinimize/NMaximize, etc.

0 votes
1 answer
125 views

Maximize and NMaximize in comparison

If on one hand: N@Maximize[{Sqrt[y^2 - x^2], x + y^2 == 0 && 0 < y < 2 && -y < x < y}, {x, y}] {0.5, {x -> -0.5, y -> 0.707107}} which is what is desired, on the other hand: NMaximize[{Sqrt[y^2 - x …
πρόσεχε's user avatar
2 votes
1 answer
114 views

ImplicitRegion with parameters

My goal would be to run the following code: {a, b} = {0.1, 3.5}; cons = (d > 0 && -d < c < b + d); reg = ImplicitRegion[x^2 + y^2 < 1 && 0 < z < b && z < c + d y, {x, y, z}]; u[c_, d_] := Integrate[1 …
πρόσεχε's user avatar
26 votes
2 answers
1k views

Possible bug in NMaximize function?

Bug introduced in 12.0. Fixed in 13.2 or earlier In 12.0.0 for Microsoft Windows (64-bit) (April 6, 2019) writing: Maximize[{Sqrt[1 - x^2], -1 <= x <= 1}, x] Minimize[{Sqrt[1 - x^2], -1 <= x <= 1}, x …
πρόσεχε's user avatar
5 votes
2 answers
410 views

Minimize distance between two lists

Writing: expectedresults = {4, 8, 5, 1, 4, 6, 4, 1, 9, 3}; achievedresults = {3, 6, 4, 2, 10, 7, 2, 4, 8, 4}; p1 = BarChart[expectedresults, ChartStyle -> Directive[Opacity[0.1], Blue]]; p2 = BarChar …
πρόσεχε's user avatar
0 votes
1 answer
373 views

Plot in solid temperature

Given the function f : R^3 -> R defined by: f(x, y, z) := x e^(y^2 + z^2) you will determine the points of maximum and minimum for f constrained to: D := { (x, y, z) \in R^3 : 0 <= x <= 1 - y^2 - z …
πρόσεχε's user avatar