QUBO Instances for benchmarking
http://juliaqubo.github.io/QUBOLib.jl/ β HEALTH ? 96 / Healthy
QUBO Instances for benchmarking
http://juliaqubo.github.io/QUBOLib.jl/ β// readme
julia> import Pkg; Pkg.add("QUBOLib")
julia> using QUBOLib
julia> using QUBOLib
julia> QUBOLib.access() do index
println(index)
end
QUBOLib instances are distributed as a Julia artifact recorded in
Artifacts.toml, not as checked-in data files. The artifact is
downloaded from the package releases the first time QUBOLib.access needs it,
then copied into a local qubolib directory for use.
The database-query examples below use SQLite.jl and DataFrames.jl directly, so add them to the active Julia project before running those examples:
julia> import Pkg; Pkg.add(["SQLite", "DataFrames"])
Use QUBOLib.access to open the local index, query the SQLite database for
instance identifiers, and load the selected models from the HDF5 archive:
julia> using QUBOLib
julia> using SQLite, DataFrames
julia> model = QUBOLib.access() do index
df = DBInterface.execute(
QUBOLib.database(index),
"SELECT instance FROM Instancesβ¦