Skip to content

Commit

Permalink
fix tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
BatyLeo committed Dec 19, 2024
1 parent ac2c69f commit 71f0f0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/src/tutorials/warcraft.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ train_dataset, test_dataset = dataset[1:45], dataset[46:50]
sample = test_dataset[1]
# `x` correspond to the input features, i.e. the input image (3D array) in the Warcraft benchmark case:
x = sample.x
# `θ` correspond to the true unknown terrain weights. We use the opposite of the true weights in order to formulate the optimization problem as a maximization problem:
θ_true = sample.θ
# `y` correspond to the optimal shortest path, encoded as a binary matrix:
y_true = sample.y
# `θ_true` correspond to the true unknown terrain weights. We use the opposite of the true weights in order to formulate the optimization problem as a maximization problem:
θ_true = sample.θ_true
# `y_true` correspond to the optimal shortest path, encoded as a binary matrix:
y_true = sample.y_true
# `instance` is not used in this benchmark, therefore set to nothing:
isnothing(sample.instance)

Expand Down

0 comments on commit 71f0f0d

Please sign in to comment.