commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [math] Min Cost Flow Linear Programming Problem Using Optimization Package
Date Fri, 23 May 2014 04:13:35 GMT
Is it possible that you encode the symmetry constraint into the function
itself by only allowing adaptation of the upper triangle?




On Thu, May 22, 2014 at 8:36 PM, Reginald Johnson <
reginald.johnson@gmail.com> wrote:

> I agree, and in fact my original formulation used that same format
> (A_ij=A_ji) for the constraint.  However, I didn't (and still don't) see a
> way to create a constraint in the optimization class that will let me use
> anything other than a number for the right hand side.
>
>   Do you know if this library has this ability?
> On May 22, 2014 8:33 AM, "Ted Dunning" <ted.dunning@gmail.com> wrote:
>
>> In electrical and fluid flow problems, it is customary to encode flow to
>> a node as positive and flow from as negative.  This reduces your
>> constraints to a much simpler form
>>
>> Sum_j A_ij = 0
>> A_ij = A_ji
>>
>> Sent from my iPhone
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message