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

don't automatically transform quadratic constraints into conic form #999

Merged
merged 1 commit into from
Mar 28, 2017

Conversation

mlubin
Copy link
Member

@mlubin mlubin commented Mar 25, 2017

This transformation was originally implemented before we had a special norm syntax and before we had the conic_to_lpqp wrapper in MPB. Doesn't seem needed anymore, and will make things simpler for #715. This could break existing models, although in a loud way.

@chriscoey

@mlubin mlubin merged commit 90fc7d4 into master Mar 28, 2017
@mlubin mlubin deleted the ml/noquadsoc branch March 28, 2017 22:25
@yeesian
Copy link
Contributor

yeesian commented Mar 29, 2017

Might have been the cause of the failures on Travis for IainNZ/JuMPeR.jl#74.

I'm having a hard time making sense of what needs to be done from the error message(s):

  MethodError: no method matching setvartype!(::ECOS.ECOSMathProgModel, ::Array{Symbol,1})
  Closest candidates are:
    setvartype!(!Matched::GLPKMathProgInterface.GLPKInterfaceMIP.GLPKMathProgModelMIP, ::Array{Symbol,1}) at /home/travis/.julia/v0.5/GLPKMathProgInterface/src/GLPKInterfaceMIP.jl:444
    setvartype!(!Matched::MathProgBase.SolverInterface.NonlinearToLPQPBridge, ::Array{Symbol,1}) at /home/travis/.julia/v0.5/MathProgBase/src/SolverInterface/nonlinear_to_lpqp.jl:88
    setvartype!(!Matched::MathProgBase.SolverInterface.ConicToLPQPBridge, ::Any) at /home/travis/.julia/v0.5/MathProgBase/src/SolverInterface/conic_to_lpqp.jl:316
    ...
   in optimize!(::MathProgBase.SolverInterface.ConicToLPQPBridge) at /home/travis/.julia/v0.5/MathProgBase/src/SolverInterface/conic_to_lpqp.jl:233

yeesian added a commit to IainNZ/JuMPeR.jl that referenced this pull request Mar 29, 2017
mlubin added a commit that referenced this pull request Apr 23, 2017
mlubin added a commit that referenced this pull request Apr 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants