sat: make all python samples executable
This commit is contained in:
0
ortools/sat/samples/assignment_sat.py
Normal file → Executable file
0
ortools/sat/samples/assignment_sat.py
Normal file → Executable file
0
ortools/sat/samples/assumptions_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/assumptions_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/binpacking_problem_sat.py
Normal file → Executable file
0
ortools/sat/samples/binpacking_problem_sat.py
Normal file → Executable file
0
ortools/sat/samples/bool_or_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/bool_or_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/boolean_product_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/boolean_product_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/channeling_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/channeling_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/copy_model_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/copy_model_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/cp_is_fun_sat.py
Normal file → Executable file
0
ortools/sat/samples/cp_is_fun_sat.py
Normal file → Executable file
0
ortools/sat/samples/earliness_tardiness_cost_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/earliness_tardiness_cost_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/interval_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/interval_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/literal_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/literal_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/multiple_knapsack_sat.py
Normal file → Executable file
0
ortools/sat/samples/multiple_knapsack_sat.py
Normal file → Executable file
0
ortools/sat/samples/no_overlap_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/no_overlap_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/optional_interval_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/optional_interval_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/overlapping_intervals_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/overlapping_intervals_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/rabbits_and_pheasants_sat.py
Normal file → Executable file
0
ortools/sat/samples/rabbits_and_pheasants_sat.py
Normal file → Executable file
0
ortools/sat/samples/ranking_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/ranking_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/reified_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/reified_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/scheduling_with_calendar_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/scheduling_with_calendar_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/search_for_all_solutions_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/search_for_all_solutions_sample_sat.py
Normal file → Executable file
@@ -38,7 +38,6 @@ void SimpleSatProgram() {
|
||||
// Solving part.
|
||||
// [START solve]
|
||||
const CpSolverResponse response = Solve(cp_model.Build());
|
||||
LOG(INFO) << CpSolverResponseStats(response);
|
||||
// [END solve]
|
||||
|
||||
// [START print_solution]
|
||||
|
||||
0
ortools/sat/samples/solution_hinting_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/solution_hinting_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/solve_and_print_intermediate_solutions_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/solve_and_print_intermediate_solutions_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/solve_with_time_limit_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/solve_with_time_limit_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/step_function_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/step_function_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/stop_after_n_solutions_sample_sat.py
Normal file → Executable file
0
ortools/sat/samples/stop_after_n_solutions_sample_sat.py
Normal file → Executable file
Reference in New Issue
Block a user