Hi, Johan Löfberg and other friends,
Thanks for your instruction and help in advance.
I am new in Yalmip and also a green hand in optimization.
I used to use C++ console to call Cplex. I have spent so much time in coding and debugging in C++.
Till some day, my friend told me to use Yalmip instead.
I think Yalmip is an amazing tool for our researcher.
Now, I need to use the "Piecewise approximation method " to optimize the convex curve.
For example, divide the interval [Xmin, Xmax] into 10 sub intervals. Using these 10+1 points to get 11 tangent lines.
Then using these 11 tangent lines to approximation the convex curve.
And I don't know, how to code this in Yalmip.