Skip to content

Commit

Permalink
Use Polyhedra LPQP bridges
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Oct 22, 2016
1 parent 178c4a9 commit a91ebdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mathprogbase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ type CDDSolver <: AbstractMathProgSolver
end
end

function LinearQuadraticModel(s::CDDSolver)
function PolyhedraModel(s::CDDSolver)
CDDPolyhedraModel(s.solver_type, s.exact, nothing, :Undefined, 0, [], [], [], [], [])
end
LinearQuadraticModel(s::CDDSolver) = PolyhedraToLPQPBridge(PolyhedraModel(s))

function loadproblem!{N}(lpm::CDDPolyhedraModel, rep::HRep{N}, obj, sense)
T = lpm.exact ? Rational{BigInt} : Float64
Expand Down

0 comments on commit a91ebdb

Please sign in to comment.