Skip to content

Commit 2f05c85

Browse files
authored
Merge pull request #5 from JuliaDecisionFocusedLearning/rename-package
Rename package to DecisionFocusedLearningBenchmarks.jl
2 parents 3569254 + 26db8af commit 2f05c85

15 files changed

+38
-33
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "InferOptBenchmarks"
1+
name = "DecisionFocusedLearningBenchmarks"
22
uuid = "2fbe496a-299b-4c81-bab5-c44dfc55cf20"
33
authors = ["Members of JuliaDecisionFocusedLearning"]
44
version = "0.1.0"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# InferOptBenchmarks.jl
1+
# DecisionFocusedLearningBenchmarks.jl
22

3-
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaDecisionFocusedLearning.github.io/InferOptBenchmarks.jl/dev/)
4-
[![Build Status](https://github.com/JuliaDecisionFocusedLearning/InferOptBenchmarks.jl/actions/workflows/Test.yml/badge.svg?branch=main)](https://github.com/JuliaDecisionFocusedLearning/InferOptBenchmarks.jl/actions/workflows/Test.yml?query=branch%3Amain)
5-
[![Coverage](https://codecov.io/gh/JuliaDecisionFocusedLearning/InferOptBenchmarks.jl/branch/main/graph/badge.svg)](https://app.codecov.io/gh/JuliaDecisionFocusedLearning/InferOptBenchmarks.jl)
3+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaDecisionFocusedLearning.github.io/DecisionFocusedLearningBenchmarks.jl/dev/)
4+
[![Build Status](https://github.com/JuliaDecisionFocusedLearning/DecisionFocusedLearningBenchmarks.jl/actions/workflows/Test.yml/badge.svg?branch=main)](https://github.com/JuliaDecisionFocusedLearning/DecisionFocusedLearningBenchmarks.jl/actions/workflows/Test.yml?query=branch%3Amain)
5+
[![Coverage](https://codecov.io/gh/JuliaDecisionFocusedLearning/DecisionFocusedLearningBenchmarks.jl/branch/main/graph/badge.svg)](https://app.codecov.io/gh/JuliaDecisionFocusedLearning/DecisionFocusedLearningBenchmarks.jl)
66
[![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/JuliaDiff/BlueStyle)
77

8-
Set of benchmark problems to be solved with [InferOpt.jl](https://github.com/JuliaDecisionFocusedLearning/InferOpt.jl)
8+
Set of benchmark problems to be solved with [DecisionFocusedLearning.jl](https://github.com/JuliaDecisionFocusedLearning/DecisionFocusedLearning.jl)

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
44
InferOpt = "4846b161-c94e-4150-8dac-c7ae193c601f"
5-
InferOptBenchmarks = "2fbe496a-299b-4c81-bab5-c44dfc55cf20"
5+
DecisionFocusedLearningBenchmarks = "2fbe496a-299b-4c81-bab5-c44dfc55cf20"
66
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
77
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"

docs/make.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using Documenter
2-
using InferOptBenchmarks
2+
using DecisionFocusedLearningBenchmarks
33
using Literate
44

55
cp(joinpath(@__DIR__, "..", "README.md"), joinpath(@__DIR__, "src", "index.md"); force=true)
@@ -15,9 +15,9 @@ for file in tutorial_files
1515
end
1616

1717
makedocs(;
18-
modules=[InferOptBenchmarks, InferOptBenchmarks.Warcraft],
18+
modules=[DecisionFocusedLearningBenchmarks, DecisionFocusedLearningBenchmarks.Warcraft],
1919
authors="Members of JuliaDecisionFocusedLearning",
20-
sitename="InferOptBenchmarks.jl",
20+
sitename="DecisionFocusedLearningBenchmarks.jl",
2121
format=Documenter.HTML(),
2222
pages=[
2323
"Home" => "index.md",
@@ -33,5 +33,6 @@ for file in md_tutorial_files
3333
end
3434

3535
deploydocs(;
36-
repo="github.com/JuliaDecisionFocusedLearning/InferOptBenchmarks.jl", devbranch="main"
36+
repo="github.com/JuliaDecisionFocusedLearning/DecisionFocusedLearningBenchmarks.jl",
37+
devbranch="main",
3738
)

docs/src/api/decision_focused.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
## Public
44

55
```@autodocs
6-
Modules = [InferOptBenchmarks.FixedSizeShortestPath, InferOptBenchmarks.PortfolioOptimization, InferOptBenchmarks.SubsetSelection]
6+
Modules = [DecisionFocusedLearningBenchmarks.FixedSizeShortestPath, DecisionFocusedLearningBenchmarks.PortfolioOptimization, DecisionFocusedLearningBenchmarks.SubsetSelection]
77
Private = false
88
```
99

1010
## Private
1111

1212
```@autodocs
13-
Modules = [InferOptBenchmarks.FixedSizeShortestPath, InferOptBenchmarks.PortfolioOptimization, InferOptBenchmarks.SubsetSelection]
13+
Modules = [DecisionFocusedLearningBenchmarks.FixedSizeShortestPath, DecisionFocusedLearningBenchmarks.PortfolioOptimization, DecisionFocusedLearningBenchmarks.SubsetSelection]
1414
Public = false
1515
```

docs/src/api/interface.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
## Public
44

55
```@autodocs
6-
Modules = [InferOptBenchmarks.Utils]
6+
Modules = [DecisionFocusedLearningBenchmarks.Utils]
77
Private = false
88
```
99

1010
## Private
1111

1212
```@autodocs
13-
Modules = [InferOptBenchmarks.Utils]
13+
Modules = [DecisionFocusedLearningBenchmarks.Utils]
1414
Public = false
1515
```

docs/src/api/warcraft.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
## Public
44

55
```@autodocs
6-
Modules = [InferOptBenchmarks.Warcraft]
6+
Modules = [DecisionFocusedLearningBenchmarks.Warcraft]
77
Private = false
88
```
99

1010
## Private
1111

1212
```@autodocs
13-
Modules = [InferOptBenchmarks.Warcraft]
13+
Modules = [DecisionFocusedLearningBenchmarks.Warcraft]
1414
Public = false
1515
```

docs/src/tutorials/warcraft.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# # Path-finding on image maps
22

33
#=
4-
In this tutorial, we showcase InferOptBenchmarks.jl capabilities on one of its main benchmarks: the Warcraft benchmark.
4+
In this tutorial, we showcase DecisionFocusedLearningBenchmarks.jl capabilities on one of its main benchmarks: the Warcraft benchmark.
55
This benchmark problem is a simple path-finding problem where the goal is to find the shortest path between the top left and bottom right corners of a given image map.
66
The map is represented as a 2D image representing a 12x12 grid, each cell having an unknown travel cost depending on the terrain type.
77
=#
88

99
# First, let's load the package and create a benchmark object as follows:
10-
using InferOptBenchmarks
10+
using DecisionFocusedLearningBenchmarks
1111
b = WarcraftBenchmark()
1212

1313
# ## Dataset generation
@@ -38,7 +38,7 @@ plot_data(b, sample)
3838

3939
# ## Building a pipeline
4040

41-
# InferOptBenchmarks also provides methods to build an hybrid machine learning and combinatorial optimization pipeline for the benchmark.
41+
# DecisionFocusedLearningBenchmarks also provides methods to build an hybrid machine learning and combinatorial optimization pipeline for the benchmark.
4242
# First, the [`generate_statistical_model`](@ref) method generates a machine learning predictor to predict cell weights from the input image:
4343
model = generate_statistical_model(b)
4444
# In the case of the Warcraft benchmark, the model is a convolutional neural network built using the Flux.jl package.

src/InferOptBenchmarks.jl renamed to src/DecisionFocusedLearningBenchmarks.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module InferOptBenchmarks
1+
module DecisionFocusedLearningBenchmarks
22

33
using DataDeps
44
using HiGHS
@@ -44,4 +44,4 @@ export FixedSizeShortestPathBenchmark
4444
export PortfolioOptimizationBenchmark
4545
export SubsetSelectionBenchmark
4646

47-
end # module InferOptBenchmarks
47+
end # module DecisionFocusedLearningBenchmarks

test/code.jl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
@testitem "Aqua" begin
22
using Aqua
3-
Aqua.test_all(InferOptBenchmarks; ambiguities=false, deps_compat=(check_extras = false))
3+
Aqua.test_all(
4+
DecisionFocusedLearningBenchmarks;
5+
ambiguities=false,
6+
deps_compat=(check_extras = false),
7+
)
48
end
59

610
@testitem "JET" begin
711
using JET
8-
JET.test_package(InferOptBenchmarks; target_defined_modules=true)
12+
JET.test_package(DecisionFocusedLearningBenchmarks; target_defined_modules=true)
913
end
1014

1115
@testitem "JuliaFormatter" begin
1216
using JuliaFormatter
13-
JuliaFormatter.format(InferOptBenchmarks; verbose=false, overwrite=false)
17+
JuliaFormatter.format(DecisionFocusedLearningBenchmarks; verbose=false, overwrite=false)
1418
end
1519

1620
@testitem "Documenter" begin
1721
using Documenter
18-
Documenter.doctest(InferOptBenchmarks)
22+
Documenter.doctest(DecisionFocusedLearningBenchmarks)
1923
end

0 commit comments

Comments
 (0)