fix examples/python/bazel; add time limit to example; remove jniutil; disable dump_vars_test on mac
This commit is contained in:
@@ -83,8 +83,6 @@ code_sample_py("vendor_scheduling_sat")
|
||||
|
||||
code_sample_py("wedding_optimal_chart_sat")
|
||||
|
||||
code_sample_py("weighted_latency_problem_sat")
|
||||
|
||||
code_sample_py("worker_schedule_sat")
|
||||
|
||||
code_sample_py("zebra_sat")
|
||||
|
||||
@@ -33,9 +33,10 @@ from ortools.sat.python import cp_model
|
||||
|
||||
_OUTPUT_PROTO = flags.DEFINE_string(
|
||||
'output_proto', '', 'Output file to write the cp_model proto to.')
|
||||
_PARAMS = flags.DEFINE_string('params',
|
||||
'num_search_workers:8,log_search_progress:true',
|
||||
'Sat solver parameters.')
|
||||
_PARAMS = flags.DEFINE_string(
|
||||
'params',
|
||||
'num_search_workers:16,log_search_progress:true,max_time_in_seconds:45',
|
||||
'Sat solver parameters.')
|
||||
_INSTANCE = flags.DEFINE_integer('instance', 1, 'Instance to select (1, 2, 3).',
|
||||
1, 3)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user