@@ -45,10 +45,6 @@ Main maps:
45
45
their internal index from 1 to dimension(set) (if vector constraints:
46
46
VectorOfVariables-in-Set), 1 otherwise (scalar: VariableIndex-in-Set).
47
47
48
- note: this set is important to dualization can keep track of what it
49
- decided to define as a constrained variable.
50
- - consider index 0 to highlight scalars
51
-
52
48
* `primal_convarcon_to_dual_con::Dict{MOI.ConstraintIndex,MOI.ConstraintIndex}`: maps
53
49
the primal constraint index of constrained variables to the dual
54
50
model's constraint index of the associated dual constraint. This dual
@@ -57,31 +53,19 @@ Main maps:
57
53
are not in this map, as they are not dualized (See
58
54
primal_convarcon_to_dual_function).
59
55
60
- note: from the above two maps, we can get primal_convar_to_dual_con_and_index
61
-
62
56
* `primal_var_to_dual_con::Dict{MOI.VariableIndex,MOI.ConstraintIndex}`: maps
63
57
"free" primal variables to their associated dual (equality) constraints.
64
58
Free variables as opposed to constrained variables. Note that Dualization
65
59
will select automatically which variables are free and which are
66
60
constrained.
67
61
68
- note: from the above three maps, we can get primal_var_to_dual_con_and_index
69
-
70
- # TODO: idea, for simmetry, keep only
71
- - primal_convarcon_to_dual_con (as is), analogous to primal_con_to_dual_convarcon
72
- - primal_var_to_dual_con_and_index, analogous to primal_con_to_dual_var_vec
73
- -- the second implicitly tracks which vars were decided to be convar's
74
-
75
62
* `primal_con_to_dual_var_vec::Dict{MOI.ConstraintIndex,Vector{MOI.VariableIndex}}`:
76
63
maps primal constraint indices to vectors of dual variable indices. For
77
64
scalar constraints those vectors will be single element vectors.
78
65
Primal constrained variables constraints (the main ones) are not in this
79
66
map. However, `VariableIndex`-in-set and `VectorOfVariables`-in-set might
80
67
appear in this map if they were not chosen as the main ones.
81
68
82
- note: possibly change this to:
83
- primal_con_to_dual_var_vec_and_convarcon
84
-
85
69
* `primal_con_to_dual_convarcon::Dict{MOI.ConstraintIndex,MOI.ConstraintIndex}`:
86
70
maps regular primal constraints to dual constrained variable. If the primal
87
71
constraint's set is EqualTo or Zeros, no constraint is added in the dual
0 commit comments