[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [Help-glpk] MathProg
From: |
Andrew Makhorin |
Subject: |
Re[2]: [Help-glpk] MathProg |
Date: |
Sun, 26 Sep 2004 12:24:49 +0300 |
>Thanks. If I want to do this for a constraint
>which isn't indexed over a set, is there any
>better way than doing:
>
>my_constraint{i in {0}: p = 1}: x = y;
>
>(The problem with this is that it changes the
>name of the constraint, which I would like to
>avoid if possible.)
You can change row and column names using api routines lpx_set_row_name
and lpx_set_col_name. There is no way to do that in MathProg.