Problem with the connection between Aspen Plus and Simulink
Show older comments
Good morning,
I'm trying to minimize the error between an Aspen plus simulation and experimantal data using the solver fmincon. After some iterations it gives me this message:
Initial point is a local minimum that satisfies the constraints.
Optimization completed because at the initial point, the objective function is non-decreasing
in feasible directions to within the value of the optimality tolerance, and
constraints are satisfied to within the value of the constraint tolerance.
<stopping criteria details>
The x-vector (initial point) is composed of some Aspen variables, but fmincon only receives as input double type data not interfaces, so I had to covert them to double type.
Most probably is because I'm returning a constant value to fmincon from the objective function independent of the x-vector the solver supplies.
How can I fix this?
Thanks in advance
1 Comment
Daniel Trias
on 13 May 2020
Hi Riccardo!
Were you able to fix this? I'm having a similar stuation when using some external simulation software to compute the objective function.
Thanks in advance,
Dani
Answers (0)
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!