G
Greg Soulsby
I have created a solver applicaton for selecting project
combinations. One of the variables is "run_flag", whether
the project is run or not. This is implemented with the
parameter run_flags = binary.
The solver is run within a macro loop, (using different
levels of maximum_budget).
When run the solutions include run_flags with fractions
between 0 and 1. But it is supposed to be either 0 or 1.
I have tried making the paramter run_flags = integer,
run_flags > -.5 and run flags < 1.5 but that makes it
worse - not only are the solution values for run_flags
real numbers not integers but negative numbers are
provided as solutions. Having our suppliers pay us for
running our projects wont wash with them - but 10/10 for
creativity excell.
Am I doing something wrong? Workarounds?
Thanks
Greg Soulsby
combinations. One of the variables is "run_flag", whether
the project is run or not. This is implemented with the
parameter run_flags = binary.
The solver is run within a macro loop, (using different
levels of maximum_budget).
When run the solutions include run_flags with fractions
between 0 and 1. But it is supposed to be either 0 or 1.
I have tried making the paramter run_flags = integer,
run_flags > -.5 and run flags < 1.5 but that makes it
worse - not only are the solution values for run_flags
real numbers not integers but negative numbers are
provided as solutions. Having our suppliers pay us for
running our projects wont wash with them - but 10/10 for
creativity excell.
Am I doing something wrong? Workarounds?
Thanks
Greg Soulsby