[Top][All Lists]

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

Re: [Help-glpk] Name index discrepancies?

From: Andrew Makhorin
Subject: Re: [Help-glpk] Name index discrepancies?
Date: Wed, 19 Sep 2007 06:47:11 +0400

Btw, if you need to change the objective coefficients, you should
call the routine glp_set_obj_coef, not glp_set_mat_row. The point is
that the objective specified in the model is translated to objective
coefficients (through glp_set_obj_coef) as well as to a free row with the
same coefficients. Using glp_get_mat_row/glp_set_mat_row you access that
free row, not the objective function, so changing it will have no effect.

reply via email to

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