ERROR (theano.gof.opt): Traceback (most recent call last):

 "/usr/local/lib/python2.7/site-packages/theano/gof/opt.py", line 1772, in process_node
replacements = lopt.transform(node)

 "/usr/local/lib/python2.7/site-packages/theano/tensor/opt.py", line 644, in dimshuffle_as_view
v = new_op(*node.inputs)

 "/usr/local/lib/python2.7/site-packages/theano/gof/op.py", line 635, in __call__
(i, ins, node))ValueError: Cannot compute test value: input 0 (Elemwise{gt,no_inplace}.0) of Op InplaceDimShuffle{x,0}(Elemwise{gt,no_inplace}.0) missing default value
Traceback (most recent call last):


 "test2.py", line 17, in <module>

SolverFactory('gurobi').solve(m, tee=True)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/opt/base/solvers.py", line 597, in solve

self._presolve(*args, **kwds)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/solvers/plugins/solvers/GUROBI.py", line 209, in _presolve

ILMLicensedSystemCallSolver._presolve(self, *args, **kwds)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/opt/solver/shellcmd.py", line 196, in _presolve

OptSolver._presolve(self, *args, **kwds)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/opt/base/solvers.py", line 693, in _presolve

**kwds)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/opt/base/solvers.py", line 761, in _convert_problem

**kwds)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/opt/base/convert.py", line 110, in convert_problem

problem_files, symbol_map = converter.apply(*tmp, **tmpkw)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/solvers/plugins/converter/model.py", line 96, in apply

io_options=io_options)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/core/base/block.py", line 1647, in write

io_options)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/repn/plugins/cpxlp.py", line 170, in __call__

include_all_variable_bounds=include_all_variable_bounds)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/repn/plugins/cpxlp.py", line 655, in _print_model_LP

for constraint_data, canonical_repn in yield_all_constraints():


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/repn/plugins/cpxlp.py", line 635, in constraint_generator

canonical_repn = generate_canonical_repn(constraint_data.body)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/repn/canonical_repn.py", line 1070, in generate_canonical_repn

return coopr3_generate_canonical_repn(exp, idMap, compute_values)


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/repn/canonical_repn.py", line 805, in coopr3_generate_canonical_repn

degree = exp.polynomial_degree()


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/core/kernel/expr_coopr3.py", line 412, in polynomial_degree

x_degree = x.polynomial_degree()


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/core/kernel/expr_coopr3.py", line 412, in polynomial_degree

x_degree = x.polynomial_degree()


 "/home/qichen/.solvers/pyomo/src/pyomo/pyomo/core/kernel/expr_coopr3.py", line 341, in polynomial_degree

if self._args[0].is_fixed():
AttributeError: 'int' object has no attribute 'is_fixed'
