Skip to content

Instantly share code, notes, and snippets.

@grauwoelfchen
Created November 19, 2012 17:09
Show Gist options
  • Save grauwoelfchen/4111968 to your computer and use it in GitHub Desktop.
Save grauwoelfchen/4111968 to your computer and use it in GitHub Desktop.
glpk glpsol command output
$ glpsol -m tdl_pass.mod -d tdl_pass.dat -o tdl_pass.sol
GLPSOL: GLPK LP/MIP Solver, v4.47
Parameter(s) specified in the command line:
-m tdl_pass.mod -d tdl_pass.dat -o tdl_pass.sol
Reading model section from tdl_pass.mod...
45 lines were read
Reading data section from tdl_pass.dat...
83 lines were read
Generating wife_s_pleasure...
Generating in_one_day...
Generating fast_pass_limit...
Generating pass_or_in_line_9...
Generating pass_or_in_line_18...
Generating pass_or_in_line_19...
Generating pass_or_in_line_26...
Generating pass_or_in_line_27...
Generating pass_or_in_line_31...
Generating pass_or_in_line_33...
Generating pass_or_in_line_38...
Model has been successfully generated
GLPK Integer Optimizer, v4.47
11 rows, 48 columns, 120 non-zeros
48 integer variables, all of which are binary
Preprocessing...
10 rows, 48 columns, 72 non-zeros
48 integer variables, all of which are binary
Scaling...
A: min|aij| = 1.000e+00 max|aij| = 4.700e+01 ratio = 4.700e+01
GM: min|aij| = 5.254e-01 max|aij| = 1.903e+00 ratio = 3.623e+00
EQ: min|aij| = 3.015e-01 max|aij| = 1.000e+00 ratio = 3.317e+00
2N: min|aij| = 2.500e-01 max|aij| = 1.469e+00 ratio = 5.875e+00
Constructing initial basis...
Size of triangular part = 10
Solving LP relaxation...
GLPK Simplex Optimizer, v4.47
10 rows, 48 columns, 72 non-zeros
0: obj = 3.223880597e+01 infeas = 1.949e+01 (0)
* 8: obj = 3.023750000e+01 infeas = 0.000e+00 (0)
* 30: obj = 5.575609756e+01 infeas = 0.000e+00 (0)
OPTIMAL SOLUTION FOUND
Integer optimization begins...
+ 30: mip = not found yet <= +inf (1; 0)
+ 87: >>>>> 5.300000000e+01 <= 5.500000000e+01 3.8% (41; 0)
+ 180: >>>>> 5.500000000e+01 <= 5.500000000e+01 0.0% (41; 58)
+ 180: mip = 5.500000000e+01 <= tree is empty 0.0% (0; 145)
INTEGER OPTIMAL SOLUTION FOUND
Time used: 0.0 secs
Memory used: 0.2 Mb (256194 bytes)
Writing MIP solution to `tdl_pass.sol'...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment