Is there any solver to find minimum value of nonlinear objective function with integer and linear equality constraints?

조회 수: 4 (최근 30일)
Hi, I am finding a solver to find minimum value of objective function.
My problem includes linear problem, nonlinear problem.
I was used 'ga' to solve my problem. The format I used is
x = ga(fun,nvars,A,b,[],[],lb,ub,nonlcon,IntCon).
As the format shows, I find optimal integer x to get minimum of objective function with predefine lower bound and upper bound. I used 'A*x<=b' to solve the linear problem. 'nonlcon' to deal with nonlinear problem.
Besides, I still want to apply linear equalities by using Aeq*x=Beq. However, 'ga' cannot returen interger x by deal with with linear inequailities, linear equalities , nonlinear problem with predefined lower and upper bound.
Is there any solver could solve it?

채택된 답변

Matt J
Matt J 2020년 8월 27일
편집: Matt J 2020년 8월 27일
A basic workaround, as described here,
is to eliminate some of the variables using your equality constraints. This transforms the problem into one where the equality constraints are not present anymore.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Least Squares에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by