In optimization toolbox, in function "gamultiobj" how to define ConstraintFile.m function in which constraints are not functions of design variables. This facility is available in "ga" under "nonlin".

1 view (last 30 days)
ga(fitnessfsn,.......lb,ub,nonlin,options)
gamultiobj(fitnessfsn,.......lb,ub,options)

Accepted Answer

Alan Weiss
Alan Weiss on 24 Jun 2016
If the constraints are not functions of design variables, then how are they constraints?
gamultiobj gained the ability to use nonlinear constraints in R2014b, as you can see in the release notes.
Alan Weiss
MATLAB mathematical toolbox documentation
  1 Comment
Ravindra Desai
Ravindra Desai on 27 Jun 2016
Thank you Alan for finding time to answer my Q. You are right that, how constraints without design variables possible. I am working on buildings as earthquake resistant dynamic system. In which,deflection of building is indirect constraints, whereas design variables are related to damping in the system. I will sure go through release notes. Thanks once again.

Sign in to comment.

More Answers (1)

Steven Lord
Steven Lord on 24 Jun 2016
If you mean that your constraints are functions not only of the design variables but also additional parameters, use the techniques described in the documentation to pass those additional parameters into the constraint functions when you call gamultiobj.
  1 Comment
Ravindra Desai
Ravindra Desai on 27 Jun 2016
Thank you Steven for finding time to answer my Q. I am working on buildings as earthquake resistant dynamic system. In which,deflection of building is indirect constraints, whereas design variables are related to damping in the system. I will sure go through documentation suggested by you. Thanks once again.

Sign in to comment.

Categories

Find more on Programming 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!