2010/1/15 Noli Sicad <nsi...@gmail.com> > Have you downloaded and installed Xcode? If not probably you just get > glpk binary from Macports. > > Then install Wine and Gusek > > http://winebottler.kronenberg.org/ > > This is the easy way. > > Noli > I have Xcode installed but now it seems to run in shell.
Finally I found the way to run glpsol. I try a model in examples dir (queens.mod) can you confirm that you have the same result? So I'm sure that all works good. My result is: examples guess$ ./glpsol -m queens.mod GLPSOL: GLPK LP/MIP Solver, v4.42 Parameter(s) specified in the command line: -m queens.mod Reading model section from queens.mod... 41 lines were read Generating a... Generating b... Generating c... Generating d... Generating obj... Model has been successfully generated GLPK Integer Optimizer, v4.42 43 rows, 64 columns, 316 non-zeros 64 integer variables, all of which are binary Preprocessing... 42 rows, 64 columns, 252 non-zeros 64 integer variables, all of which are binary Scaling... A: min|aij| = 1.000e+00 max|aij| = 1.000e+00 ratio = 1.000e+00 Problem data seem to be well scaled Constructing initial basis... Size of triangular part = 42 Solving LP relaxation... GLPK Simplex Optimizer, v4.42 42 rows, 64 columns, 252 non-zeros * 0: obj = 0.000000000e+00 infeas = 0.000e+00 (0) * 30: obj = 8.000000000e+00 infeas = 0.000e+00 (0) OPTIMAL SOLUTION FOUND Integer optimization begins... + 30: mip = not found yet <= +inf (1; 0) + 88: >>>>> 7.000000000e+00 <= 8.000000000e+00 14.3% (10; 0) + 140: >>>>> 8.000000000e+00 <= 8.000000000e+00 0.0% (10; 8) + 140: mip = 8.000000000e+00 <= tree is empty 0.0% (0; 29) INTEGER OPTIMAL SOLUTION FOUND Time used: 0.0 secs Memory used: 0.2 Mb (225304 bytes) . . Q . . . . . Q . . . . . . . . . . . . . Q . . . . . Q . . . . . . . . . . Q . Q . . . . . . . . . Q . . . . . . . . . Q . . Model has been successfully processed Thanks
_______________________________________________ Help-glpk mailing list Help-glpk@gnu.org http://lists.gnu.org/mailman/listinfo/help-glpk