Skip to content

Attempt at a new API #17

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 1 commit into
base: master
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
41 changes: 0 additions & 41 deletions flik/__init__.py

This file was deleted.

11 changes: 11 additions & 0 deletions flik/algorithm.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
def algorithm(x, model, subproblem_solver, trustregion, niter):
for i in range(niter):
# solve model (using given algorithm)
step = subproblem_solver(x, model, trustregion)
# update trust region and model
trustregion.update(x, step, model)
model.update(x, step)
# update x
if trustregion.check_step(step):
x += step
return x
204 changes: 0 additions & 204 deletions flik/approx_jacobian.py

This file was deleted.

Loading