How to get linprog to not ignore x0 R2019a
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Is there anyway I can get linprog to start with my own x0 and not have it ignored? I always get this warning:
'XX algorithm uses a built-in starting point;ignoring supplied X0.'
Whenever I change the algorithm I still get this same response. Is there even a way to use linprog and an initial condition that isn't a built in starting point?
Thanks.
0 Kommentare
Antworten (2)
Matt J
am 19 Apr. 2020
Bearbeitet: Matt J
am 19 Apr. 2020
If your initial x0 is feasible, one way you might benefit from it is to add the inequality constraint
f(:).'*x(:) <= f(:).'*x0
That will tighten the search, somewhat, if your x0 is better than the initial guess that linprog auto-generates.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!