sparse matrices for Aineq,Aeq in genetic algorithm soler(ga) - Reg
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Kallam Haranadha Reddy
am 17 Jan. 2018
Beantwortet: Alan Weiss
am 17 Jan. 2018
I want to know whether we can use sparse matrices for Aineq and Aeq to be passed as the parameters to the ga(genetic algorithm) solver,
When i tried with sparse matrices for Aineq and Aeq the solver is showing busy symbol for very long time.
The size of Aineq and Aeq matrices are 36 constraints and 108 variables.
please guide.
0 Kommentare
Akzeptierte Antwort
Alan Weiss
am 17 Jan. 2018
No, ga does not accept sparse linear constraint matrices. When I tried to pass them just now, I got the following warnings:
Warning: The equality constraint matrix is sparse; converting to a full matrix.
Warning: The inequality constraint matrix is sparse; converting to a full matrix.
Alan Weiss
MATLAB mathematical toolbox documentation
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Genetic Algorithm finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!