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

4 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Matt J
Matt J il 27 Ago 2020
Modificato: Matt J il 27 Ago 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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by