> One possibility is that guobi automatically assumes non negative
> variable values?
>
> If so how do you get around it?
>
> # Create variables
> x = m.addVar(name="x")
> y = m.addVar( name="y")
> z = m.addVar( name="z")
Please take a look at the documentation for addVar():
http://www.gurobi.com/documentation/5.0/reference-manual/node540
addVar (lb=0.0, ub=GRB.INFINITY, obj=0.0, vtype=GRB.CONTINUOUS,
name='''', column=None )
The default value of the lb argument is 0.0. If you want to change the
lower bound, you can do something like:
x = m.addVar(lb=-1.0, name="x")
Chris