Fmincon With internal calculations

1 view (last 30 days)
Mohammed Abbas
Mohammed Abbas on 11 Mar 2014
Edited: Matt J on 12 Mar 2014
Dear All
I was attempting to use the function fmincon to optimize a solution of a vessel design.My problem is the constraint equations contain some variables to be calculated first from the same design variables iterated by the fmincon function.In simple words i need the program to iterate 4 design variables but before going into the constraint functions to run some calculations to find some values used in the constraint equations.
Thanks
  1 Comment
Matt J
Matt J on 12 Mar 2014
Edited: Matt J on 12 Mar 2014
Why do these intermediate variables have to be computed "before going into the constraint functions"? Why not compute them inside the constraint function, since they are also evolving with the optimization?

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with Optimization Toolbox 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!