Hi April. I had the same problem once.
Which solver are you using? Remember that Minos ignore integrality of variables, for that reason, even if you define the variable as binary the solution will be non-integer values.
You should use, as an example, CPLEX to sove the problem and have binary values in your solution.
Regards
--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at https://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.