File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 2222from pyomo .contrib .gdpopt .discrete_problem_initialize import valid_init_strategies
2323from pyomo .contrib .gdpopt .nlp_initialization import restore_vars_to_original_values
2424from pyomo .contrib .gdpopt .util import a_logger , _DoNothing
25+ from pyomo .util .config_domains import ComponentDataSet
26+ from pyomo .core .base import LogicalConstraint
27+ from pyomo .gdp .disjunct import Disjunction
2528
2629_supported_algorithms = {
2730 'LOA' : ('gdpopt.loa' , 'Logic-based Outer Approximation' ),
@@ -547,6 +550,7 @@ def _add_ldsda_configs(CONFIG):
547550 "logical_constraint_list" ,
548551 ConfigValue (
549552 default = None ,
553+ domain = ComponentDataSet (LogicalConstraint ),
550554 description = """
551555 The list of logical constraints to be reformulated into external variables.
552556 The logical constraints should be in the same order of provided starting point.
@@ -557,6 +561,7 @@ def _add_ldsda_configs(CONFIG):
557561 "disjunction_list" ,
558562 ConfigValue (
559563 default = None ,
564+ domain = ComponentDataSet (Disjunction ),
560565 description = """
561566 The list of disjunctions to be reformulated into external variables.
562567 The disjunctions should be in the same order of provided starting point.
You can’t perform that action at this time.
0 commit comments