[Top][All Lists]

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

[Help-glpk] Using max on an array of decision variables

From: glpkuser
Subject: [Help-glpk] Using max on an array of decision variables
Date: Fri, 7 Sep 2007 15:34:42 -0700 (PDT)

As part of my decision variables, I will have an array of numbers, where each
element is the execution time to complete tasks at a server. The LP is to
spread some load across the servers such that the maximum completion time
across all tasks is minimised. I cannot figure out how to express this

I have something like this:

var CompletionTimes{s in SERVERS} >= 0;
s.t. compl{s in SERVERS} : CompletionTime[s] = .......;

minimize z: max(CompletionTimes{s in SERVERS}); # Doesn't work

set SERVERS := 1 2 3 4 5;

View this message in context:
Sent from the Gnu - GLPK - Help mailing list archive at

reply via email to

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