Linprog: suppress output message "Optimal solution found"
17 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have the same problem as in this question. No matter what I do linprog outputs the message "Optimal solution found". I use the function in a cycle of many iterations and it slows down everything considerably. I tried the solution suggested in the second answer to no avail, the original answer has solved the problem by disabling Owncloud but I don't use Owncloud. Does someone have other ideas?
Here's how I call the function:
D=linprog(ones(1,n),-I, (I-W)*I(:,l), [],[],zeros(n,1));
2 Commenti
Risposta accettata
Stephan
il 13 Ott 2018
Hi,
try:
options = optimoptions('linprog','Display','none');
D=linprog(ones(1,n),-I, (I-W)*I(:,l), [],[],zeros(n,1),options);
I guess the reason is that you call linprog without the options. Then the Standard options are used.
Best regards
Stephan
2 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!