Skip to content

Commit d2d29e5

Browse files
authored
removed impl and use dispatch instead (#273)
* removed impl and use dispatch instead
1 parent 9830f7d commit d2d29e5

15 files changed

+311
-364
lines changed

src/ConstraintSolver.jl

-3
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,6 @@ function solve!(com::CS.CoM)
725725
com.branch_strategy = get_branch_strategy(; options = options)
726726
com.branch_split = get_branch_split(; options = options)
727727

728-
set_impl_functions!(com)
729-
730728
if :Info in com.options.logging
731729
print_info(com)
732730
end
@@ -749,7 +747,6 @@ function solve!(com::CS.CoM)
749747
added_con_idxs = simplify!(com)
750748
if length(added_con_idxs) > 0
751749
set_in_all_different!(com; constraints = com.constraints[added_con_idxs])
752-
set_impl_functions!(com; constraints = com.constraints[added_con_idxs])
753750
!init_constraints!(com; constraints = com.constraints[added_con_idxs]) &&
754751
return :Infeasible
755752
!update_init_constraints!(com; constraints = com.constraints[added_con_idxs]) &&

0 commit comments

Comments
 (0)