Skip to content

Commit

Permalink
Bug fixes in README (#9)
Browse files Browse the repository at this point in the history
Also added storage folder.
  • Loading branch information
RXGottlieb authored Nov 8, 2024
1 parent 9410354 commit b9536ed
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
1 change: 0 additions & 1 deletion .codecov.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.vscode/
src/transform/storage/
Manifest.toml
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,13 +456,13 @@ SourceCodeMcCormick generated functions, we can make use of the massive parallel
available using GPUs.

```julia
using JuMP, EAGO, SourceCodeMcCormick, CUDA
using JuMP, EAGO, SourceCodeMcCormick, Symbolics, DocStringExtensions CUDA

# Import the ParBB algorithm (Note: path may vary depending on where
# this file is in relation to SourceCodeMcCormick)
include(joinpath(@__DIR__, "ParBB", "extension.jl"))
include(joinpath(@__DIR__, "ParBB", "subroutines.jl"))
include(joinpath(@__DIR__, "ParBB", "kernels.jl"))
# Import the ParBB algorithm
BASE_FOLDER = dirname(dirname(pathof(SourceCodeMcCormick)))
include(joinpath(BASE_FOLDER, "examples", "ParBB", "extension.jl"))
include(joinpath(BASE_FOLDER, "examples", "ParBB", "subroutines.jl"))
include(joinpath(BASE_FOLDER, "examples", "ParBB", "kernels.jl"))

# Weights associated with the hidden layer
W1 = [ 0.54 -1.97 0.09 -2.14 1.01 -0.58 0.45 0.26;
Expand Down Expand Up @@ -595,13 +595,13 @@ implementation. The following shows how SourceCodeMcCormick's new subgradient fe
with ParBB.

```julia
using JuMP, EAGO, SourceCodeMcCormick, CUDA
using JuMP, EAGO, SourceCodeMcCormick, Symbolics, DocStringExtensions, CUDA

# Import the ParBB algorithm (Note: path may vary depending on where
# this file is in relation to SourceCodeMcCormick)
include(joinpath(@__DIR__, "ParBB", "extension.jl"))
include(joinpath(@__DIR__, "ParBB", "subroutines.jl"))
include(joinpath(@__DIR__, "ParBB", "kernels.jl"))
# Import the ParBB algorithm
BASE_FOLDER = dirname(dirname(pathof(SourceCodeMcCormick)))
include(joinpath(BASE_FOLDER, "examples", "ParBB", "extension.jl"))
include(joinpath(BASE_FOLDER, "examples", "ParBB", "subroutines.jl"))
include(joinpath(BASE_FOLDER, "examples", "ParBB", "kernels.jl"))

# Weights associated with the hidden layer
W1 = [ 0.54 -1.97 0.09 -2.14 1.01 -0.58 0.45 0.26;
Expand Down
4 changes: 4 additions & 0 deletions src/transform/storage/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

0 comments on commit b9536ed

Please sign in to comment.