[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 http://docs.google.com/View?id=df9kvnvr_56dv2fj4cc
If anyone has any suggestions or improvements that would be great.
Congratulations on the http://orms-today.com/ survey
Thanks for all the help
David
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;
>
>
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Help-glpk] Divorce settlement,
David Curran <=