[Symphony-tickets] [SYMPHONY] #112: impossible to set generate_cgl_redsplit_cuts in interactive mode
SYMPHONY
coin-trac at coin-or.org
Sat Oct 22 15:06:30 EDT 2011
#112: impossible to set generate_cgl_redsplit_cuts in interactive mode
----------------------+-----------------------------------------------------
Reporter: tvincent | Owner: tkr
Type: defect | Status: new
Priority: normal | Milestone:
Component: Not Sure | Version: trunk (SVN)
Keywords: |
----------------------+-----------------------------------------------------
Hi,
In interactive mode, trying to set a new value to
generate_cgl_redsplit_cuts returns "Unknown parameter/command!".
In fact, there is no mention of this cut in the set_param function in
src/Master/master_func.c:1784 .
I think adding
else if (strcmp(key, "generate_cgl_redsplit_cuts") == 0 ||
strcmp(key, "LP_generate_cgl_redsplit_cuts") == 0){
READ_INT_PAR(lp_par->cgl.generate_cgl_redsplit_cuts);
return(0);
}
around line 2615 should fix it (please note that the double pipe might be
missing in the "if" condition as it does not appear in this ticket's
preview).
Cheers,
Thomas
--
Ticket URL: <https://projects.coin-or.org/SYMPHONY/ticket/112>
SYMPHONY <http://projects.coin-or.org/SYMPHONY>
The SYMPHONY framework for parallel branch-and-cut algorithms.
More information about the Symphony-tickets
mailing list