MATLAB: Linear programming with complex inequalities inequalitieslinear programming I just wanna solve: min Z=20X+18Ywith2X+3Y>=104X+7Y>=28X>=0, Y>=0 Answer is X=0, Y=4 and Z=72 How can i use the linprog command but with >= inequalities? Best Answer Multiply the >= inequalities by (-1).Best wishesTorsten. Related SolutionsMATLAB: MILP-error with constraints x = intlinprog(f,intcon,[],[],Aeq,beq,lb,ub);Best wishesTorsten. MATLAB: Fmincon works but GA won’t work In general, ga is not as reliable a solver as fmincon. So if you have smooth objective and constraints, you should use fmincon. See Table for Choosing a Solver.Alan WeissMATLAB mathematical toolbox documentation Related QuestionFmincon is not feasibleDoubly stochastic matrix in linear programmingLinprogr in Matlab not finding a solution when a solution exists
Best Answer