Skip to content

[WIP] Mini-batch and new learning schedules #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

Manifest.toml

.vscode/
3 changes: 2 additions & 1 deletion example.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ function NLPModels.hprod!(nlp :: ExampleMONLP, i :: Integer, x :: AbstractVector
Hv[2] = -400 * x[1] * v[1] + 200 * v[2]
end
return Hv
end
end

30 changes: 21 additions & 9 deletions src/MultObjNLPModels.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
module MultObjNLPModels

using NLPModels

include("meta.jl")
include("counters.jl")
include("api.jl")

end # module
module MultObjNLPModels

# stdlib
using SparseArrays

# external packages
using FastClosures

# JSO packages
using LinearOperators, NLPModels

include("api.jl") # Defines the model and the functions
include("meta.jl") # Defines the derived meta structure
include("counters.jl")

include("auxiliary.jl")

include("regression_model.jl")
include("sthocastic_gradient.jl")

end # module
Loading