How can I write the objective function of the following linear optimization problem?
조회 수: 2 (최근 30일)
이전 댓글 표시
I have to solve an optimization problem using linear programmimg. My objective function is like : minimization(summation(A*B+ summation(C*D))). How can I create the code in matlab? Here B and D are variables where both are integer values and D can only binary numbers (0 or 1). I need a code when A and C can either be variables and co-efficients?
댓글 수: 0
답변 (1개)
Alan Weiss
2015년 6월 8일
If you have Optimization Toolbox, you can use the linprog function to solve linear programming problems, and the intlinprog function to solve mixed-integer linear programming problems.
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!