help-glpk
[Top][All Lists]
Advanced

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

Re: RE: [Help-glpk] The "dual" suffix and sensitivity to how a constrain


From: glpk xypron
Subject: Re: RE: [Help-glpk] The "dual" suffix and sensitivity to how a constraint is expressed in GMPL
Date: Wed, 29 Dec 2010 04:26:42 +0100

Hello Marc,

> Should GMPL be more clever and check if all the variables are only on
> one side of the constraint, and if so always place the variables on the
> left-side, and the constant on the right side, and not multiply by -1?
> That would create more intuitive dual variables.

A change in a logic will break existing programs relying on the
current sign.

For a constraint like

s.t. c{i in I} :
  sum{j in A[i]} x[j] <= sum{j n B[i]} x[j];

it would become quite non-intuitive to interprete the duals if 
some A[i] were empty.

Best regards

Xypron

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt auch mit 
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl



reply via email to

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