Skip to content

Commit

Permalink
julia highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrea committed Jun 22, 2019
1 parent 1dca914 commit b13fc7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ result = boptimize!(opt)
### Resume optimization

To continue the optimization, one can call `boptimize!(opt)` multiple times.
```
```julia
result = boptimize!(opt) # first time (includes initialization)
result = boptimize!(opt) # restart
maxiterations!(opt, 50) # set maxiterations for the next call
Expand All @@ -59,7 +59,7 @@ Sobol sequence. If instead one has already some function values available and
wants to skip the initialization with the Sobol sequence, one can update the
model with the available data and set `initializer_iterations = 0`. For example
(continuing the above example after setting the `modeloptimizer`).
```
```julia
x = [rand(2) for _ in 1:20]
y = -f.(x)
append!(model, hcat(x...), y)
Expand Down

2 comments on commit b13fc7a

@jbrea
Copy link
Owner Author

@jbrea jbrea commented on b13fc7a Jun 22, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/1509

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.1 -m "<description of version>" b13fc7a22ad3d1cb60789797dd520ef438748260
git push origin v0.2.1

Please sign in to comment.