Skip to content

Commit

Permalink
Different approach, no need for ndarray
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-k committed Feb 11, 2022
1 parent 0dcdf48 commit 469cfb6
Show file tree
Hide file tree
Showing 3 changed files with 242 additions and 109 deletions.
3 changes: 0 additions & 3 deletions argmin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ slog = { version = "2.4.1", optional = true }
slog-term = { version = "2.8.1", optional = true }
slog-async = { version = "2.7.0", optional = true }
slog-json = { version = "2.5.0", optional = true }
# remove
ndarray = { version = "0.15", features = ["serde-1"] }
ndarray-linalg = { version = "0.14", features = ["netlib"] }

[dev-dependencies]
approx = "0.5.0"
Expand Down
2 changes: 1 addition & 1 deletion argmin/examples/simplex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fn run() -> Result<(), Error> {
let init_param = vec![];
let res = Executor::new(problem, solver, init_param)
// .add_observer(ArgminSlogLogger::term(), ObserverMode::Always)
.max_iters(10)
.max_iters(3)
.run()?;

// Wait a second (lets the logger flush everything before printing again)
Expand Down
Loading

0 comments on commit 469cfb6

Please sign in to comment.