[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] A Simple MIP model in MathProg - (simple cplex mip model
From: |
Raniere Gaia Silva |
Subject: |
Re: [Help-glpk] A Simple MIP model in MathProg - (simple cplex mip model included) |
Date: |
Tue, 6 Nov 2012 22:44:59 -0200 |
Noli,
when you use
> #######
> var x{n in NUMBER}, integer;
> #####
all the variables will be integers.
> X2 and X3 needs to Float / Real, based on the results of the Original
> Cplex problem.
If some variables are integers and others ara real, than you have to use
#######
var x{n in NUMBER_OF_INTEGER}, integer;
var y{n in NUMBER_OF_REAL};
#####
Raniere