Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow compilation with PRINTLEVEL >= 3 #217

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ecos_bb/ecos_bb.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ static int check_infeasible_bool_var(ecos_bb_pwork *problem, const idxint ecos_r
get_bool_node_id(node_idx, problem)[var_idx] = other_val;
problem->tmp_branching_bool_node_id[var_idx] = other_val;
#if PRINTLEVEL >= 3
PRINTTEXT("Found infeasible node path for down-branching in node [%d] in var [%d]\n", node_idx, i);
PRINTTEXT("Found infeasible node path for down-branching in node [%d] in var [%d]\n", node_idx, var_idx);
#endif
// prevent to have no branching variable set because of continuing
if (*split_idx == -1)
Expand Down Expand Up @@ -443,7 +443,7 @@ static int check_infeasible_int_var(ecos_bb_pwork *problem, const idxint ecos_re
get_int_node_id(node_idx, problem)[2 * var_idx + (fix_lb ? 0 : 1)] = fix_val;
problem->tmp_branching_int_node_id[2 * var_idx + (fix_lb ? 0 : 1)] = fix_val;
#if PRINTLEVEL >= 3
PRINTTEXT("Found infeasible node path for down-branching in node [%d] in var [%d]\n", node_idx, i);
PRINTTEXT("Found infeasible node path for down-branching in node [%d] in var [%d]\n", node_idx, var_idx);
#endif
// prevent to have no branching variable set because of continuing
if (*split_idx == -1)
Expand Down