Optimization problem code sos please help
Show older comments
I need to write a code for this formula but I don’t have any idea how to describe 7 subject to; and which function ,

to use please help me because I’m new to optimization problem
4 Comments
If you understand that the problem cannot be completely described with the information you gave in your post, you are a step further.
Hint: (A1),(A2) and (A7) don't have any relation to the objective function. So these constraints are superfluous ? I don't think so if they are mentionned in the problem description.
Melika Eft
on 21 Dec 2022
Torsten
on 21 Dec 2022
As noted, you gave an incomplete problem description. So how should I answer questions before I know the problem ?
Melika Eft
on 21 Dec 2022
Edited: Melika Eft
on 21 Dec 2022
Answers (1)
Alan Weiss
on 22 Dec 2022
0 votes
Have you seen the Problem-Based Optimization Workflow? This approach allows you to create optimization variables as symbolic-type placeholders, and then formulate your objective and constraint functions in terms of those variables. There are plenty of worked examples of nonlinear problems here.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
Categories
Find more on Get Started with Problem-Based Optimization and Equations 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!