Skip to content

remi-garcia/FeasibilityPump.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FeasibilityPump

Work in progress.

License: MIT

FeasibilityPump is a Julia package that solve a linear program with binary variables. It uses the Feasibility Pump heuristic or a variant.

This package exports a few functions: feasibilitypump(), setparamfp!(), getparamnamefp(), getparamfp(), initializeparametersfp() and __compilefp__()

Installing

julia> ] add https://github.com/remi-garcia/FeasibilityPump.jl
julia> using FeasibilityPump

Running the first test

julia> include("examples/main.jl")

It should run over the .mps in /data using CPLEX.

Usage

julia> myModel = CPLEX.Model(CPLEX.Env())
julia> CPLEX.read_model(myModel, "filepath.mps")
julia> param = initializeparametersfp()
julia> #setparamfp!(param, "paramName", paramValue) # See docs for more info on this
julia> status, solution, objectiveValue = feasibilitypump(myModel, param)

Problem Collections

References

About

Feasibility pump heuristic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages