Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing the implementation of the function, MathOptInterface.VectorAffineFunction. #75

Closed
yim0331 opened this issue Jan 15, 2020 · 1 comment

Comments

@yim0331
Copy link

yim0331 commented Jan 15, 2020

A overload function for MathOptInterface.VectorAffineFunction looks not implemented.
I'm having the following error message while using the Dualization package:

ERROR: LoadError: Constraints of funtion MathOptInterface.VectorAffineFunction{Float64} in the Set MathOptInterface.PositiveSemidefiniteConeSquare are not implemented
Stacktrace:
[1] error(::String, ::Type, ::String, ::Type, ::String) at .\error.jl:42
[2] supported_constraints(::Array{Tuple{DataType,DataType},1}) at C:\Users\yim\.julia\packages\Dualization\VTZt0\src\supported.jl:9
[3] dualize(::MathOptInterface.Utilities.CachingOptimizer{MathOptInterface.AbstractOptimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}, ::Dualization.DualProblem{Float64,MathOptInterface.Utilities.CachingOptimizer{MathOptInterface.AbstractOptimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}}, ::Dualization.DualNames, ::Array{MathOptInterface.VariableIndex,1}, ::Bool) at C:\Users\yim\.julia\packages\Dualization\VTZt0\src\dualize.jl:27
[4] #dualize#2 at C:\Users\yim\.julia\packages\Dualization\VTZt0\src\dualize.jl:16 [inlined]
[5] (::getfield(Dualization, Symbol("#kw##dualize")))(::NamedTuple{(:dual_names,),Tuple{Dualization.DualNames}}, ::typeof(Dualization.dualize), ::MathOptInterface.Utilities.CachingOptimizer{MathOptInterface.AbstractOptimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}, ::Dualization.DualProblem{Float64,MathOptInterface.Utilities.CachingOptimizer{MathOptInterface.AbstractOptimizer,MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}}}) at .\none:0
[6] #dualize#3(::Dualization.DualNames, ::typeof(Dualization.dualize), ::Model) at C:\Users\yim\.julia\packages\Dualization\VTZt0\src\dualize.jl:77

@odow
Copy link
Member

odow commented Jan 15, 2020

Duplicate of #73. See the discussion in that issue.

@odow odow closed this as completed Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants