필터 지우기
필터 지우기

optimization toolbox in matlab

조회 수: 1 (최근 30일)
Imanitxka imane
Imanitxka imane 2022년 4월 12일
답변: Alan Weiss 2022년 4월 13일
Hello community
I have a problem to solve can anyone help me.
I have to minimize this function
P1*x1+P2*x2+P1*X3+P2*x4
s.t
P1*x1+P1*x3= L1
P2*x2+P2*x4= L2
P1*x1+P2*x2 ≤ E1
P1*x3+P2*x4 ≤ E2
x1,x2,x3,x4 are binary
P1, P2,L1,L2,E1,E2 are constants
The unknown variables are x1,x2,x3,x4
Thanks in advance

답변 (1개)

Alan Weiss
Alan Weiss 2022년 4월 13일
This sounds like a job for intlinprog.
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by