I've got a worksheet that minimises a function with two variables.
I'd like to get the minimised variables and re-input them into the function to find the final minimised value.
When I try to extract the variables from the Minimize vector it gives me different values to those found initially - see attached worksheet.
Worksheet overview:
The function (Fresmin) adds FLres and FHres absolutely.
Fresmin will be zero wherever a horizontal line crosses both curves in the graph.
I define a value for RLD and use Minimize to find the optimum value of RHD.
I extract the minimised values into a and b.
I've also created a simplified example at the bottom of the worksheet that does work correctly.
Can anybody explain why the former is not working? (It appears to be finding another solution as Fresmin is very small)