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

3 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Matt J
Matt J el 27 de Ag. de 2020
Editada: Matt J el 27 de Ag. de 2020
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.

Más respuestas (0)

Categorías

Más información sobre Linear Least Squares en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by