1 view (last 30 days)

Hi, I am trying to use ga to solve a mixed integer optimization problem. I have a problem that ga became infeasible after i enlarged the size of my varibles. For example, if the number of varibles are 80 or 150, ga runs very good. But when it comes to 252 variables, ga immediately becomes infeasible.In my problem, i set my number of variables to "N" which can be changed before the optimization.

Thank you!

Opportunities for recent engineering grads.

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

Start Hunting!
## 12 Comments

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_741202

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_741202

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_741205

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_741205

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_741208

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_741208

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_741215

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_741215

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_741246

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_741246

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_742546

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_742546

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_742566

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_742566

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_742992

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_742992

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_743109

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_743109

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_743112

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_743112

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_743114

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_743114

## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_743116

⋮## Direct link to this comment

https://ch.mathworks.com/matlabcentral/answers/478490-why-ga-become-infeasible-after-increasing-the-size-of-variables#comment_743116

Sign in to comment.