Message Boards Message Boards

2
|
1374 Views
|
1 Reply
|
5 Total Likes
View groups...
Share
Share this post:

Root outputs after Minimze function

Posted 1 year ago

I'm newer to Mathematica and got weird outputs that I don't understand after using the minimize function. I have been looking for documentation about them, but don't even know where to start. I called the minimize function and the solution I get has weird radical symbols with the answers in boxes, and if I hover over them, it is a Root expression with # symbols. If anybody knows what this output means and how I could get a more exact expression from the output, I'd greatly appreciate it.

I'm attaching the notebook and a screenshot.

Attachment

Attachments:
POSTED BY: Jack Reever

Take a look at the documentation for Root. If a radical form exists ToRadicals can be used to perform the conversion.

sol = Minimize[{z, x/(1 + y) <= z, (1 - y)/x <= z, y - z <= z, 0 <= x <= 1, 0 <= y <= 1}, {x, y, z}]
sol // ToRadicals

If you want the numerical values

sol // N[#, 16] &
POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract