I have this optimization problem that Mathematica solves correctly:
NMinimize[{x0^2 + x1^2 + x2^2, x0 - x1 + 2.0 x2 == 1.0, x0 + x1* + x2 == 0.0}, {x0, x1, x2}]
{0.17748, {x0 -> 0.0739345, x1 -> -0.205098, x2 -> 0.360484}}
My problem is I want x0, x1 and x2 to have these values from here on and I dont know how to do (set) this. For example, if i try to plot
Plot[x0 + x1*x + x2*x^2,{x,-1,1}]
it gives me an empty plot because it does not know what x0, x1,and x2 are.
Thanks for your help.
S