From: Paul K. <pki...@us...> - 2003-07-29 22:45:24
|
Hans-Georg Beyer wrote: >Dear Paul Kienzle, > >If you are still active in the field, here is my problem report: > Yes, but I'm about to go away for a bit. Hopefully someone else on the list can look into this. Paul Kienzle pki...@us... >I compiled lp.cc and tried to use it with octave-2.1.50: > >octave-2.1.50:27> lp([1,1],[-1,0;0,-1;1,0;0,1],[-1,-1,3,3],[-10,-10],[10,10],0) >ans = > > 10 > 10 > >This is obviously wrong (solution is (1,1), constraints are just a rectangular >box [1,3]x[1,3]). > >Using only three arguments yields: > >octave-2.1.50:33> lp([1,1],[-1,0;0,-1;1,0;0,1],[-1,-1,3,3]) >error: lp: columns in the second argument do not match the fourth argument. > >Any idea how to fix this? > |