Message Boards Message Boards

Advanced Linear Programming

Posted 10 years ago

Hi all, I'm working on a linear programming problem and got stuck. The problem deals with academic tests schedule and one of the main methods I want to consider is the amount of days there are to study for each test. The question is: how can I know the amount of days to study for each test if my decision variable is Xct (binary - gets 1 if exam c takes place at the time-slot t) (The target is to calculate the margin between the "t" of two X's that equals 1).

Thanks!!

POSTED BY: nadav luboshitz

It looks like you need to work with an integer linear program (ILP), at least in the formulation you describe. Both NMinimize and LinearProgramming support integer variables, and of course they can be restricted to binary with a constraint such as 0<=x<=1.

POSTED BY: Daniel Lichtblau
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract