On 22/06/2010, Adrian Burlacu <[email protected]> wrote: > Hi, have you considered adding the exitflag output argument to linprog? > Adrian
Hi, Adrian. No, I didn't. linprog is a simple Matlab-compatible wrapper around glpk, so mapping glpk's exit flags to Matlab's ones is needed. If you only need it to diagnose a specific problem, probably the best way to do so will be editing linprog [0] in the line where glpk is invoked so that you get glpk status [1] printed on your screen. Cheers, Luca [0] http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/optim/inst/linprog.m?revision=6256&content-type=text%2Fplain [1] http://www.gnu.org/software/octave/doc/interpreter/Linear-Programming.html ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
