Home
last modified time | relevance | path

Searched refs:ClearAndResize (Results 1 – 23 of 23) sorted by relevance

/dports/math/py-or-tools/or-tools-9.2/ortools/glop/
H A Dvariables_info.cc93 can_increase_.ClearAndResize(num_cols); in ResetStatusInfo()
94 can_decrease_.ClearAndResize(num_cols); in ResetStatusInfo()
95 is_basic_.ClearAndResize(num_cols); in ResetStatusInfo()
96 not_basic_.ClearAndResize(num_cols); in ResetStatusInfo()
97 non_basic_boxed_variables_.ClearAndResize(num_cols); in ResetStatusInfo()
102 relevance_.ClearAndResize(num_cols); in ResetStatusInfo()
166 is_basic_.ClearAndResize(num_cols); in ChangeUnusedBasicVariablesToFree()
H A Dpricing.h63 void ClearAndResize(Index n);
89 void Clear() { ClearAndResize(Index(0)); } in Clear()
156 inline void DynamicMaximum<Index>::ClearAndResize(Index n) { in ClearAndResize() function
160 is_candidate_.ClearAndResize(n); in ClearAndResize()
H A Dupdate_row.cc203 non_zero_position_set_.ClearAndResize(num_cols); in ComputeUpdatesRowWiseHypersparse()
H A Dvariable_values.cc228 dual_prices_->ClearAndResize(num_rows); in RecomputeDualPrices()
H A Dreduced_costs.cc558 prices_.ClearAndResize(reduced_costs.size()); in GetBestEnteringColumn()
H A Drevised_simplex.cc2308 dual_prices_.ClearAndResize(num_rows_); in DualPhaseIChooseLeavingVariableRow()
/dports/math/py-or-tools/or-tools-9.2/ortools/sat/
H A Dpresolve_util.h68 something_changed_.ClearAndResize(something_changed_.size()); in MarkProcessingAsDoneForNow()
H A Dclause.cc791 is_marked_.ClearAndResize(LiteralIndex(implications_.size())); in MinimizeConflictWithReachability()
865 is_marked_.ClearAndResize(LiteralIndex(implications_.size())); in MinimizeConflictFirst()
883 is_marked_.ClearAndResize(LiteralIndex(implications_.size())); in MinimizeConflictFirstWithTransitiveReduction()
943 is_marked_.ClearAndResize(LiteralIndex(implications_.size())); in MinimizeConflictExperimental()
944 is_simplified_.ClearAndResize(LiteralIndex(implications_.size())); in MinimizeConflictExperimental()
1002 is_marked_.ClearAndResize(LiteralIndex(implications_.size())); in RemoveFixedVariables()
1407 is_marked_.ClearAndResize(size); in ComputeTransitiveReduction()
1484 is_marked_.ClearAndResize(size); in ComputeTransitiveReduction()
1623 is_marked_.ClearAndResize(LiteralIndex(implications_.size())); in ExpandAtMostOneWithWeight()
1807 is_marked_.ClearAndResize(LiteralIndex(implications_.size())); in ExpandAtMostOne()
H A Dpb_constraint.h178 void ClearAndResize(int num_variables);
695 seen_.ClearAndResize(BooleanVariable(num_variables)); in Resize()
H A Dsat_solver.cc641 pb_conflict_.ClearAndResize(num_variables_.value()); in PropagateAndStopAfterOneConflictResolution()
700 is_marked_.ClearAndResize(num_variables_); in PropagateAndStopAfterOneConflictResolution()
1301 is_marked_.ClearAndResize(num_variables_); in GetLastIncompatibleDecisions()
1453 is_level_marked_.ClearAndResize( in ComputeLbd()
1806 is_marked_.ClearAndResize(num_variables_); in ComputeFirstUIPConflict()
1923 tmp_mark_.ClearAndResize(num_variables_); in ComputeUnionOfReasons()
2182 is_independent_.ClearAndResize(num_variables_); in MinimizeConflictRecursively()
2382 is_marked_.ClearAndResize(num_variables_); in MinimizeConflictExperimental()
H A Dprobing.cc189 propagated_.ClearAndResize(LiteralIndex(2 * num_variables)); in ProbeOneVariable()
211 propagated_.ClearAndResize(LiteralIndex(2 * num_variables)); in ProbeBooleanVariables()
H A Dpb_constraint.cc239 void MutableUpperBoundedLinearConstraint::ClearAndResize(int num_variables) { in ClearAndResize() function in operations_research::sat::MutableUpperBoundedLinearConstraint
242 non_zeros_.ClearAndResize(BooleanVariable(num_variables)); in ClearAndResize()
945 to_untrail_.ClearAndResize(ConstraintIndex(constraints_.size())); in Untrail()
H A Dinteger.cc1647 added_variables_.ClearAndResize(BooleanVariable(trail_->NumVariables())); in MergeReasonIntoInternal()
1768 added_variables_.ClearAndResize(BooleanVariable(trail_->NumVariables())); in Reason()
1785 tmp_marked_.ClearAndResize(IntegerVariable(vars_.size())); in AppendNewBounds()
1854 modified_vars_.ClearAndResize(integer_trail_->NumIntegerVariables()); in UpdateCallingNeeds()
1990 modified_vars_.ClearAndResize(integer_trail_->NumIntegerVariables()); in Untrail()
H A Dlinear_programming_constraint.h70 void ClearAndResize(int size);
H A Dsynchronization.cc708 changed_variables_since_last_synchronize_.ClearAndResize(num_variables_); in SharedBoundsManager()
810 id_to_changed_variables_[id].ClearAndResize(num_variables_); in RegisterNewId()
H A Dprecedences.cc92 modified_vars_.ClearAndResize(integer_trail_->NumIntegerVariables()); in Propagate()
116 modified_vars_.ClearAndResize(integer_trail_->NumIntegerVariables()); in Untrail()
H A Dsat_decision.cc245 pq_need_update_for_var_at_trail_index_.ClearAndResize(num_variables); in InitializeVariableOrdering()
H A Dlinear_programming_constraint.cc51 void ScatteredIntegerVector::ClearAndResize(int size) { in ClearAndResize() function in operations_research::sat::ScatteredIntegerVector
860 tmp_scattered_vector_.ClearAndResize(integer_variables_.size()); in PostprocessAndAddCut()
1896 scattered_vector->ClearAndResize(integer_variables_.size()); in ComputeNewLinearConstraint()
H A Dinteger.h911 p->ClearAndResize(NumIntegerVariables()); in RegisterWatcher()
/dports/math/py-or-tools/or-tools-9.2/ortools/util/
H A Dbitset.h440 void ClearAndResize(IndexType size) { in ClearAndResize() function
696 void ClearAndResize(int size) { in ClearAndResize() function
779 void ClearAndResize(IntegerType size) { in ClearAndResize() function
786 bitset_.ClearAndResize(size); in ClearAndResize()
/dports/math/py-or-tools/or-tools-9.2/ortools/bop/
H A Dbop_ls.h167 void ClearAndResize(IntType n); in dissect_m2m()
H A Dbop_ls.cc126 void BacktrackableIntegerSet<IntType>::ClearAndResize(IntType n) {
241 infeasible_constraint_set_.ClearAndResize(
/dports/math/py-or-tools/or-tools-9.2/ortools/constraint_solver/
H A Dconstraint_solveri.h904 changes_.ClearAndResize(size); in AddVars()
905 delta_changes_.ClearAndResize(size); in AddVars()