Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 committed Jan 19, 2024
1 parent 9f9cd5d commit 54f11bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/src/optimization_packages/mathoptinterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Pkg.add("OptimizationMOI");
```

## Details

As of now, the `Optimization` interface to `MathOptInterface` implements only
the `maxtime` common keyword argument.

Expand Down
3 changes: 2 additions & 1 deletion src/Optimization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ using ArrayInterface, Base.Iterators, SparseArrays, LinearAlgebra
using SymbolicIndexingInterface
using Pkg

import SciMLBase: OptimizationProblem, OptimizationFunction, ObjSense,
import SciMLBase: OptimizationProblem,
OptimizationFunction, ObjSense,
MaxSense, MinSense, OptimizationStats
export ObjSense, MaxSense, MinSense

Expand Down
1 change: 0 additions & 1 deletion src/state.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ function OptimizationState(; iter = 0, u = nothing, objective = nothing,
grad = nothing, hess = nothing, original = nothing)
OptimizationState(iter, u, objective, grad, hess, original)

Check warning on line 26 in src/state.jl

View check run for this annotation

Codecov / codecov/patch

src/state.jl#L26

Added line #L26 was not covered by tests
end

0 comments on commit 54f11bd

Please sign in to comment.