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

2 次查看(过去 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 中查找有关 Quadratic Programming and Cone Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by