Hi,
Your model is infeasible, this is why Gurobi is not able to get the solution values of the variables (that is the meaning of "Unable to retrieve attribute 'X'"). You can for example see this quickly when using gurobi_cl for solving the lp-file.
For fixing your problem you should always check the solution status after solving a model and before trying to access the solution values. A description of the different status codes can be found here:
http://www.gurobi.com/documentation/5.6/reference-manual/optimization_status_codes#sec:StatusCodes
-- Sonja
-----------------------------------------------------------------
Dr. Sonja Mars
Technical Account Manager
Gurobi Optimization
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "Gurobi Optimization" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
gurobi+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
> <t5.txt><main.cpp>