On Sat, 5 Apr 2008, Jonathan Klein wrote:
> set PEOPLE;
> var x{i in PEOPLE} binary;
> maximize Anzahl : sum{i in PEOPLE} (if x[i]==1 then 1 else 0);
> data;
> set LEUTE:=Hans Joachen Peter Klaus;
> end;
>
> And i get the Error: operator preceding == has invalid type

x[i] is a variable.

-- 
Michael   [EMAIL PROTECTED]
"Those parts of the system that you can hit with a hammer (not advised)
are called Hardware;  those program instructions that you can only
curse at are called Software."



_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to