help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glpk problem,please check code


From: Ben Abbott
Subject: Re: glpk problem,please check code
Date: Mon, 13 Feb 2017 19:20:20 -0500

> On Feb 13, 2017, at 5:18 PM, siko1056 <address@hidden> wrote:
> 
> bpabbott wrote
>>> On Feb 12, 2017, at 3:46 PM, saiko7 &lt;
> 
>> saital7@
> 
>> &gt; wrote:
>>> 
>>> SO are you saying there is a problem with the dimensions I have used? Or
>>> is
>>> it a glpk error?
>>> Can you give me some idea about how I should proceed here ,to test my
>>> code? 
>> 
>> 
>> I’m not familiar with using A_LB, A_IN, and A_UB. Perhaps someone who is
>> will reply.
>> 
>> Ben
> 
> If you provide a short complete test script (no undefined variables, maybe
> as attachment) I can debug into the code to see what is wrong. I
> occasionally use GLPK myself. A first question mark is why do you overwrite
> your function input argument c in the third line of the function body?
> 
> Kai.

Good catch Kai. There remains some typos, but his script now works for me.

Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]