argmin
good_lp
Our great sponsors
argmin | good_lp | |
---|---|---|
2 | 4 | |
883 | 189 | |
4.8% | 3.7% | |
9.3 | 7.1 | |
8 days ago | 20 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
argmin
-
Rust concepts I wish I learned earlier
Two things that might help Rust a lot despite the complexity is the tooling and the ecosystem. Cargo is good, the compiler is extremely helpful, and there are a lot of crates to build on for all sorts of tasks.
For example, if I need to use simulated annealing to solve an optimization problem, there already exist libraries that implement that algorithm well.[1] Unfortunately, the Haskell library for this seems to be unmaintained[2] and so does the OCaml library that I can find.[3] Similarly, Agda, Idris, and Lean 4 all seem like great languages. But not having libraries for one's tasks is a big obstacle to adoption.
Nim looks very promising. (Surprisingly so to me.) Hopefully they will succeed at gaining wider recognition and growing a healthy ecosystem.
[1] E.g., https://github.com/argmin-rs/argmin
[2] https://hackage.haskell.org/package/hmatrix-gsl-0.19.0.1 was released in 2018. (Although there are newer commits in the GitHub repo, https://github.com/haskell-numerics/hmatrix. Not too sure what is going on.)
[3] https://github.com/khigia/ocaml-anneal
-
Is there a library for non-linear optimization in Rust?
You might find interest in argmin, a collection of common optimization algorithms.
good_lp
-
Faer-rs: Linear algebra foundation for the Rust programming language
How exactly does this dovetail with https://github.com/rust-or/good_lp ? Will it be a replacement, an enhancement, or something else?
-
-🎄- 2022 Day 19 Solutions -🎄-
I would like to see your code to see how you did it. I used the crate good_lp but it required an external command line "cbc" for me (on Windows) and failed to use GLPK later.
-
Linear Programming in Rust
Actually you can, but your struct has to be generic. I added an example in the repository to make that clear: https://github.com/lovasoa/good_lp/blob/main/tests/resource_allocation_problem.rs
What are some alternatives?
optimization-engine - Nonconvex embedded optimization: code generation for fast real-time optimization
advent-of-code-2022 - Solutions to Advent of Code 2022 | https://adventofcode.com/
ceres-solver - A large scale non-linear optimization library
aoc_2022
cmaes - A Rust implementation of the CMA-ES optimization algorithm.
advent-of-code - My solutions for Advent of Code
keyboard_layout_optimizer - A keyboard layout optimizer supporting multiple layers. Implemented in Rust.
advent_of_code_2022
Peroxide - Rust numeric library with R, MATLAB & Python syntax
AdventOfCode
image-shrinker-lite - Drag-and-drop image compression app.
Advent-of-Code-2022 - My solutions in Rust for Advent of Code 2022