@@ -1479,7 +1479,6 @@ SCIP_RETCODE MirReduction(
14791479 SCIP_CALL ( SCIPcalcMIR (set -> scip , refsol , POSTPROCESS , BOUNDSWITCH , USEVBDS , FALSE, FIXINTEGRALRHS , NULL , NULL ,
14801480 MINFRAC , MAXFRAC , 1.0 , aggrrow , cutcoefs , & cutrhs , cutinds , & cutnnz , NULL , NULL , & cutislocal , & success ) );
14811481
1482-
14831482 if ( success )
14841483 {
14851484 assert (!cutislocal );
@@ -1745,7 +1744,7 @@ SCIP_RETCODE slackReducingContinuousBdchgQueue(
17451744 if ( SCIPpqueueNElems (conflict -> continuousbdchgqueue ) != 0 )
17461745 SCIPpqueueClear (conflict -> continuousbdchgqueue );
17471746
1748- /** For a row of the form ax >= b, we can add all continuous bound changes before inferbdchgidx that reduce the slack
1747+ /* For a row of the form ax >= b, we can add all continuous bound changes before inferbdchgidx that reduce the slack
17491748 * for each continuous variable x_k with coefficient a_k:
17501749 * - a_k > 0: then add bound changes (if not already present). Uses SCIPvarGetUbchgInfo() to get the latest
17511750 * bound change used in the slack of row.
@@ -2040,7 +2039,7 @@ SCIP_RETCODE SCIPconflictAddConflictCon(
20402039
20412040 boundtype = conflictrow -> vals [idx ] > 0.0 ? SCIP_BOUNDTYPE_LOWER : SCIP_BOUNDTYPE_UPPER ;
20422041
2043- /** Since the conflictrow is in the form a*x >= b:
2042+ /* Since the conflictrow is in the form a*x >= b:
20442043 * For integer variables:
20452044 * coef > 0: The lower bound change is equal to ceil(lhs / coef)
20462045 * coef < 0: The upper bound change is equal to floor(lhs / coef)
@@ -2181,7 +2180,6 @@ SCIP_Real computeScaleReason(
21812180
21822181 scale = REALABS ( coefconf / coefreas );
21832182 return scale ;
2184-
21852183}
21862184
21872185/** compute the resolved conflict row resolvedrow = row1 + scale * row2 */
@@ -2622,7 +2620,7 @@ SCIP_RETCODE getConflictRow(
26222620 SCIP_CALL ( computeSlack (set , vars , conflictrow , currbdchginfo , NULL , NULL ) );
26232621 }
26242622
2625- /** The conflict row might not be infeasible.
2623+ /* The conflict row might not be infeasible.
26262624 * This may not be true is if the conflict is found by some non-linear propagation argument:
26272625 * - by a negated clique in the knapsack constraint handler
26282626 * - by propagating a ranged row with a gcd argument
@@ -2688,7 +2686,6 @@ SCIP_RETCODE executeResolutionStep(
26882686 if ( !(* successresolution ) )
26892687 return SCIP_OKAY ;
26902688
2691-
26922689 SCIP_CALL ( computeSlack (set , vars , resolvedconflictrow , currbdchginfo , fixbounds , fixsides ) );
26932690
26942691 /* return if the reduction is off */
@@ -2807,7 +2804,6 @@ SCIP_RETCODE executeResolutionStep(
28072804 residx , successresolution ) );
28082805
28092806 SCIP_CALL ( computeSlack (set , vars , resolvedconflictrow , currbdchginfo , fixbounds , fixsides ) );
2810-
28112807 }
28122808 }
28132809 }
@@ -2939,7 +2935,6 @@ SCIP_RETCODE addConflictRows(
29392935
29402936 if ( SCIPsetIsLT (set , conflictrowtoadd -> coefquotient , set -> conf_maxcoefquot ) )
29412937 {
2942-
29432938 SCIP_Bool success ;
29442939
29452940 SCIP_CALL ( SCIPconflictAddConflictCon (conflict , blkmem , set , stat , transprob , origprob , tree , reopt ,
@@ -3104,14 +3099,14 @@ SCIP_RETCODE conflictAnalyzeResolution(
31043099 SCIP_CALL ( SCIPsetAllocBufferArray (set , & fixsides , nvars ) );
31053100 SCIP_CALL ( SCIPsetAllocBufferArray (set , & fixbounds , nvars ) );
31063101
3107- /** set value in fixsides to 0 to indicate that a variable is not fixed
3102+ /* set value in fixsides to 0 to indicate that a variable is not fixed
31083103 * if a variable is set at an upper bound, then the value is 1
31093104 * if a variable is set at a lower bound, then the value is -1
31103105 */
31113106 for ( i = 0 ; i < nvars ; ++ i )
31123107 fixsides [i ] = 0 ;
31133108
3114- /** main loop:
3109+ /* main loop:
31153110 * --------------------------------
31163111 * - we start with the initial conflict row and the first bound change to
31173112 * resolve
@@ -3222,7 +3217,7 @@ SCIP_RETCODE conflictAnalyzeResolution(
32223217
32233218 SCIPdebug (printConflictRow (conflictrow , set , vars , RESOLVED_CONFLICT_ROWTYPE ));
32243219
3225- /** A positive slack means that the conflict row is not infeasible anymore.
3220+ /* A positive slack means that the conflict row is not infeasible anymore.
32263221 * Unfortunately we cannot guarrante that the slack becomes zero after reducing
32273222 * the reason (even if we have only binary variables).
32283223 * Two issues are non-linear propagations, e.g.
@@ -3325,8 +3320,8 @@ SCIP_RETCODE conflictAnalyzeResolution(
33253320
33263321 nconstoadd = (set -> conf_resfuiplevels > 0 ) ? MIN (set -> conf_resfuiplevels , conflict -> nconflictrows ) : conflict -> nconflictrows ;
33273322
3328- SCIP_CALL (addConflictRows (conflict , blkmem , set , stat , transprob , origprob , tree , reopt , lp , branchcand , eventqueue ,
3329- eventfilter , cliquetable , nconstoadd , nconss , nconfvars ));
3323+ SCIP_CALL ( addConflictRows (conflict , blkmem , set , stat , transprob , origprob , tree , reopt , lp , branchcand , eventqueue ,
3324+ eventfilter , cliquetable , nconstoadd , nconss , nconfvars ) );
33303325 }
33313326
33323327 freeConflictResources (conflict , blkmem , set , fixbounds , fixsides );
0 commit comments