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> m = read("hw2.1.lp") Read LP format model from file hw2.1.lp Reading time = 0.00 seconds : 13 rows, 8 columns, 25 nonzeros gurobi> m.optimize() Optimize a model with 13 rows, 8 columns and 25 nonzeros Variable types: 0 continuous, 8 integer (8 binary) Coefficient statistics: Matrix range [1e+00, 1e+00] Objective range [1e+00, 1e+00] Bounds range [1e+00, 1e+00] RHS range [1e+00, 1e+00] Presolve removed 13 rows and 8 columns Presolve time: 0.01s 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 1: 1 Optimal solution found (tolerance 1.00e-04) Best objective 1.000000000000e+00, best bound 1.000000000000e+00, gap 0.0000% gurobi> m.printAttr("X") Variable X ------------------------- x11c1 1 x21c2 1 x12c2 1 x22c1 1 gurobi> quit()