[OS] crash with glpk and OSSolverService

Kipp Martin kipp.martin at chicagogsb.edu
Sat Apr 19 15:11:18 EDT 2008


Hi Joe:

If, in all of the <var> elements, you replace

type="B"  with

type="B" ub="1.0"

(in other words just add an upper bound of 1.0 on all the binary 
variables) it seems to work and gives the optimal value

1.06863e+06

Can you live with this patch for now? As I mentioned in the prior email, 
I think there may be a problem with the Osi Glpk interface.

Thanks





> crash with glpk and OSSolverService
> 	envoyé par		gmail.com
> I encounter a (pure binary LP) problem with glpk solver through
> COIN-OR services. Please find the input problem in both (please mail
> me for getting these files < 100 Kb, i put a copy of these in FILES
> section of this google group)
>  1 - CPLEX format : sheet-0-problem.cplex
>  2 - OSIL format :sheet-0-problem.osil
> 
> When I try to solve my problem with regular glpk command line tool :
> $ glpsol --version
> GLPSOL: GLPK LP/MIP Solver, Version 4.26
> $ glpsol --cpxlp sheet-0-problem.cplex
> ...
> INTEGER OPTIMAL SOLUTION FOUND
> ...
> 
> It works fine. While I submit this problem through OSSolverService to
> glpk, it is making glpk crash :
> $ OSSolverService -solver glpk -osil sheet-0-problem.osil -osrl
> sheet-0-problem.osrl
> ...
> Start Solve with a Coin Solver
> SOLVER NAME =  glpk
> CREATING A NEW OPTIMIZATION SOLUTION
> ipp_basic_tech:  0 row(s) and 0 column(s) removed
> GLPK internal error: ipp != ipp; file glpk/src/glpipp02.c, line 803
> Aborted
> 
> Please note other solvers (-solver cbc, -solver symphony, -solver
> cplex) employed with OSSolverService succeeded !
> > 


-- 
Kipp Martin
Professor of Operations Research
and Computing Technology
Graduate School of Business
University of Chicago
5807 South Woodlawn Avenue
Chicago, IL 60637
773-702-7456
kipp.martin at chicagogsb.edu
http://gsbkip.chicagogsb.edu
http://www.coin-or.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Optimization Services (OS)" group.
To post to this group, send email to optimizationservices at googlegroups.com
To unsubscribe from this group, send email to optimizationservices-unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/optimizationservices?hl=en
-~----------~----~----~----~------~----~------~--~---




More information about the OS mailing list