[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] constraint to binary variable
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] constraint to binary variable |
Date: |
Fri, 21 Jun 2013 12:42:52 +0400 |
> I am new in GLPK. I want to fill a two dimensional array of variable with 0
> or 1. But I will get all of it zero :-( any idea?
Please see glpk/examples/jssp.mod included in the glpk distribution.
This example model illustrates how to model disjunctive constraints
similar to yours.