Optimization problem code sos please help
显示 更早的评论
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 个评论
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
2022-12-21
Torsten
2022-12-21
As noted, you gave an incomplete problem description. So how should I answer questions before I know the problem ?
Melika Eft
2022-12-21
编辑:Melika Eft
2022-12-21
回答(1 个)
Alan Weiss
2022-12-22
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Problem-Based Optimization and Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
