(adsbygoogle = window.adsbygoogle || []).push({}); NM-Solved(How to plot points from a "Maximize[ ]" output)

Hello all,

I'm working with some data sets and I want to make a bar-type graph out of the numbers that result after a series of equations ending in a maximize function. My trouble is that the output of the function gives something like

How can I reference these numbers without having to manually enter them? I want to make a list plot out of them where each value corresponds to x coordinates 1, 2..., so I need them in a list {1, -3, 2, 3, 4}. Any ideas?Code (Text):

{21.0133, {b -> 1, c -> -3., d -> 2., e -> 3, f -> 4}}

edit: I think I can solve this by flipping the equation and using linear programming. No need to reply, but thanks for looking.

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# NM-Solved(How to plot points from a Maximize[ ] output)

Loading...

Similar Threads - Solved plot points | Date |
---|---|

Mathematica Solve Perturbation problem with mathematica | Dec 7, 2017 |

Matlab Solving equation with integration using MATLAB | Aug 4, 2017 |

Solving system of equations Mathematica | Apr 3, 2017 |

Mathematica Numerically solve recurrence relation | Mar 12, 2017 |

Rasterized density plot + countour plot in Mathematica (to solve EPS issues) | Jun 3, 2011 |

**Physics Forums - The Fusion of Science and Community**