97 : sat_parameters_(*
model->GetOrCreate<SatParameters>()),
119 std::string extra_info =
"");
142 int* num_new_constraints =
nullptr);
151 return constraint_infos_;
157 return lp_constraints_;
162 return expanded_lp_solution_;
171 return num_shortened_constraints_;
179 return type_to_num_cuts_;
208 void ComputeObjectiveParallelism(ConstraintIndex
ct_index);
213 void RescaleActiveCounts(
double scaling_factor);
217 void PermanentlyRemoveSomeConstraints();
220 void FillDerivedFields(ConstraintInfo* info);
222 const SatParameters& sat_parameters_;
226 bool current_lp_is_changed_ =
false;
229 int64_t last_simplification_timestamp_ = 0;
234 std::vector<ConstraintIndex> lp_constraints_;
241 absl::flat_hash_map<size_t, ConstraintIndex> equiv_constraints_;
243 int64_t num_constraint_updates_ = 0;
244 int64_t num_simplifications_ = 0;
245 int64_t num_merged_constraints_ = 0;
246 int64_t num_shortened_constraints_ = 0;
247 int64_t num_split_constraints_ = 0;
248 int64_t num_coeff_strenghtening_ = 0;
250 int64_t num_cuts_ = 0;
251 int64_t num_add_cut_calls_ = 0;
252 absl::btree_map<std::string, int> type_to_num_cuts_;
254 bool objective_is_defined_ =
false;
255 bool objective_norm_computed_ =
false;
256 double objective_l2_norm_ = 0.0;
265 double sum_of_squared_objective_coeffs_ = 0.0;
266 absl::flat_hash_map<IntegerVariable, double> objective_map_;
280 double constraint_active_count_increase_ = 1.0;
282 int32_t num_deletable_constraints_ = 0;