Different Nonlinear Equality and Inequality Constraint Tolerances
Show older comments
Dear community, I am working on a couple of optimization problems using either the patternsearch or fmincon function and they requrie both nonlinear equality and inequality constraints. The inequality constraints are relatively simple in that they are designed to keep several of the output variables to be between 0 and 1 and the equality constraint are designed so that several output variables equal 1. I would like to apply a different tolerance for the equality and inequality constraints, e.g. 10^-4 for the equality constraints and 10^-6 for the inequality constraints. Is this possible either within the function options or in the constraint function itself?
Accepted Answer
More Answers (1)
Torsten
on 8 Sep 2023
0 votes
No.
Categories
Find more on Nonlinear Optimization 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!