Inequality constraints in gamultiobj
Show older comments
Hello,
I have got a problem with inequality constraints in file 'constraintfunction': when I introduced A and b as constraints, optimization does not work anymore (file 'mainfunction_11') and my Pareto front plot is not showing anything. The principle is that decision variables x and y at each time step j and EV i should be less than trans_percent_w_ch and trans_percent_w_dch, respectively. I thought that with an introduction of inequality constraint I could satisfy this requirement, however, it fails to work completely. Could you help me to figure out how to fix it so that my decision variables are constrained?
Thanks in advance!
2 Comments
Alan Weiss
on 13 Dec 2020
Edited: Alan Weiss
on 13 Dec 2020
Your constraintfunction code is over 600 lines long. I wonder if there is a small subset of your code or something like it that shows what you are trying to do and exactly how it fails. I do not plan to read through that much code, and doubt that others are willing to, either.
Alan Weiss
MATLAB mathematical toolbox documentation
olga_vm
on 14 Dec 2020
Answers (0)
Categories
Find more on Solver Outputs and Iterative Display 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!