help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Solve, Add Rows, Resolve


From: Andrew Makhorin
Subject: Re: [Help-glpk] Solve, Add Rows, Resolve
Date: Fri, 8 Dec 2006 10:34:29 +0300

> I try to do the following with GLPK 4.9
> 
>  
> 
> 1. Create an instance of LP
> 
> 2. Solve the LP using simplex method
> 
> 3. Add a row to the instance
> 
> 4. Modify the coefficients of the new row
> 
> 5. Resolve it using simplex method
> 
>  
> 
> However, the program terminate when it try to modify the
> coefficients of the new row.
> 
>  
> 
> Can someone please help me on this? 

Please provide the message which explains the termination reason,
i.e. that one you see on the screen.

lpx_set_mat_row can raise an error if:

i) the row number is out of range;

ii) the row length is invalid;

iii) some constraint coefficients are equal to zero.





reply via email to

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