[Symphony-tickets] [SYMPHONY] #136: "sym_add_col" works incorrectly (see details) [Okay with 5.5 but not 5.6 or trunk]
SYMPHONY
coin-trac at coin-or.org
Wed Nov 26 19:55:43 EST 2014
#136: "sym_add_col" works incorrectly (see details) [Okay with 5.5 but not 5.6 or
trunk]
--------------------+------------------------------
Reporter: anh509 | Owner: tkr
Type: defect | Status: new
Priority: normal | Milestone:
Component: Master | Version: stable/5.6 (SVN)
Keywords: |
--------------------+------------------------------
Please see the two attached files "test_milp.MPS" and "milp.c". The c file
adds a new column to a very basic problem. The new problem should only
have an added "z" variable in the objective. For this particular problem,
(after compiling the example and ./exe_name -F test_milp.MPS) symphony
terminates with seg fault. For another problem tested, it returns an
incorrect problem, mixing up columns and values. The result of valgrind
(when failing with seg fault) is
==9799== Invalid read of size 8
==9799== at 0x4C2A7E8: memcpy (mc_replace_strmem.c:838)
==9799== by 0x4157B6: sym_add_col(SYM_ENVIRONMENT*, int, int*, double*,
double, double, double, char, char*) (master.c:4129)
This result is obtained by configuring 5.6 stable (or trunk) as follows:
../configure --enable-debug --enable-sensitivity-analysis --with-cplex-
lib='-L/usr/local/CPLEX_Studio_125/cplex/lib/x86-64_sles10_4.1/static_pic/
-lcplex -lpthread -lm' --with-cplex-
incdir=/usr/local/CPLEX_Studio_125/cplex/include/ilcplex --with-lp-
solver=cplex
--
Ticket URL: <https://projects.coin-or.org/SYMPHONY/ticket/136>
SYMPHONY <http://projects.coin-or.org/SYMPHONY>
The SYMPHONY framework for parallel branch-and-cut algorithms.
More information about the Symphony-tickets
mailing list