Dear sir,
I have got the object value to be NaN when i using fmincon to solve a convex problem.
I guess it's the numerical problem caused by log function, but i have no idea to sovle it. And i have avoid the division and multiply in the log function.
Some variables and parameters may be too small or big in the log function, is there any way to avoid this? For example, there are some skills that getting it balance?
The following is my code.
Any help would be greatly appreciated.
Thanks for your time.