Ok, so I am def. using the svn version of linprog. I am attaching my inputs and expected outputs from matlab. So far octave is complaining about not calling the linprog properly(obviously no x0 and option arguments). Here is my invocation as before: x = linprog(f,A,Parab,Aeq,beq,lb,ub,x0,options); I hope this is good. Adrian
________________________________ From: Luca Favatella <[email protected]> To: Adrian Burlacu <[email protected]> Cc: octave-dev <[email protected]> Sent: Sunday, September 20, 2009 7:29:18 PM Subject: Re: [OctDev] linprog - Optim Package Please keep octave-dev cc'ed. I am fully quoting your mail. On 20/09/2009, Adrian Burlacu <[email protected]> wrote: > Cool, ok, so it didn't work. > Here is how I try to use it in matlab > x0=[]; > options = optimset('TolFun',1e-8); > ub = vector of inf > lb = vector of 0 and -inf > beq = vector of 0 and 2 > aeq = big matrix of 0 and 1 > Parab = [] > A = [] > f = vector of 0 and -1 "vector" and "big matrix" is not detailed enough, because errors could be in vectors/matrices dimensions (I don't know as you didn't specify). (e.g. row or column vectors? and inputs dimensions are coherent each other?) > and I should get > a vector of values ~0.5 that has length 369 > > Sorry, I don't know how to do a smaller case as I'm new to optimization. > Adrian Sorry, but I can't help you because you didn't provide enough info. Could you please write/attach the full octave log (so I can read your exact commands and the exact error)? (And I remember you to please use svn version of linprog.) Sorry again for being unhelpful so far, but I need more info about the issue and how to reproduce it. And thanks for your patience: your feedback is highly appreciated. Cheers, Luca Favatella __________________________________________________________________ Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php
input.mat
Description: Binary data
output.mat
Description: Binary data
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf
_______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
