FileFormats.CBF: support constrained variables #1402
Labels
Status: help wanted
This issue needs could use help from the community
Submodule: FileFormats
About the FileFormats submodule
Milestone
Writing
Currently, the CBF writer assumes all variables are in the
"F"
(MOI.Reals
) cone.MathOptInterface.jl/src/FileFormats/CBF/write.jl
Lines 252 to 253 in 7a95b63
We should add support for
add_constrained_variables
and then dis-allowVectorOfVariables
constraints:MathOptInterface.jl/src/FileFormats/CBF/write.jl
Line 194 in 7a95b63
since we end up writing
VectorOfVariables
constraints as a affine-in-set anyway:MathOptInterface.jl/src/FileFormats/CBF/write.jl
Lines 55 to 61 in 7a95b63
Reading
This should be changed to
add_constrained_variable
:MathOptInterface.jl/src/FileFormats/CBF/read.jl
Lines 155 to 159 in 7a95b63
The text was updated successfully, but these errors were encountered: