[Top][All Lists]

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

Re: [Help-glpk] Divorce settlement

From: David Curran
Subject: Re: [Help-glpk] Divorce settlement
Date: Tue, 7 Jul 2009 22:03:21 +0100

I figured out how to do the fair division problem using GLPK
I managed to get a version working using two different arrays binary
and nonbinary.
The code is here
If anyone has any suggestions or improvements that would be great.

Congratulations on the survey
  Thanks for all the help

2009/5/25 Andrew Makhorin <address@hidden>:
>> var x1{i in I: i in D}, >= 0, <= 1;
>> var x2{i in I: i in (I diff D)}, binary;
> It is better to write:
> var x1{i in i in D}, >= 0, <= 1;
> var x2{i in (I diff D)}, binary;

reply via email to

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