Skip to content

Commit

Permalink
writeproblem: generalize model type
Browse files Browse the repository at this point in the history
  • Loading branch information
rschwarz committed May 18, 2018
1 parent b0a3cec commit ff15a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpb_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function loadproblem!(m::SCIPLinearQuadraticModel, A, varlb, varub, obj, rowlb,
end
end

function writeproblem(m::SCIPLinearQuadraticModel, filename::AbstractString)
function writeproblem(m::SCIPMathProgModel, filename::AbstractString)
_writeOrigProblem(m, Cstring(pointer(filename)), Cstring(C_NULL), Cint(0))
end

Expand Down

0 comments on commit ff15a83

Please sign in to comment.