Python 2.7.10 (default, Oct 23 2015, 19:19:21) [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin Type "help", "copyright", "credits" or "license" for more information. Academic license - for non-commercial use only Gurobi Interactive Shell (mac64), Version 8.0.1 Copyright (c) 2018, Gurobi Optimization, LLC Type "help()" for help gurobi> myip = read("hw1.2.lp") Read LP format model from file hw1.2.lp Reading time = 0.00 seconds : 1 rows, 5 columns, 5 nonzeros gurobi> myip.optimize() Optimize a model with 1 rows, 5 columns and 5 nonzeros Variable types: 1 continuous, 4 integer (0 binary) Coefficient statistics: Matrix range [1e+00, 1e+00] Objective range [2e+00, 1e+01] Bounds range [2e+00, 1e+01] RHS range [0e+00, 0e+00] Found heuristic solution: objective -0.0000000 Presolve removed 1 rows and 5 columns Presolve time: 0.00s Presolve: All rows and columns removed Explored 0 nodes (0 simplex iterations) in 0.01 seconds Thread count was 1 (of 4 available processors) Solution count 2: 82 -0 Optimal solution found (tolerance 1.00e-04) Best objective 8.200000000000e+01, best bound 8.200000000000e+01, gap 0.0000% gurobi> myip.printAttr('X') Variable X ------------------------- Expanse 2 Xfiles 3 WalkingDead 7 Hrs 12 gurobi> quit()