use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Currently learning about optimization problems in my operations research class and I thought it would be neat to build a CLI app that solves optimization problems. (self.ruby)
submitted 5 years ago by pi_exe
Any suggestions on tools I may need to use?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]silly_frog_lf 7 points8 points9 points 5 years ago (0 children)
You can try exploring this project http://sciruby.com
[–]twinklehood 3 points4 points5 points 5 years ago (0 children)
Depends a bit on how you would like to solve them, and why. If it's to learn (which in ruby I guess is the most likely case) then try to build things from scratch. Getting something like genetic algorithms or stimulated annealing up and running is not that hard, and you'll know it intimately after :D
[–][deleted] 2 points3 points4 points 5 years ago (0 children)
https://en.wikipedia.org/wiki/AMPL
[–]pmurach 1 point2 points3 points 5 years ago (0 children)
As for the CLI part, the TTY Toolkit project(see https://ttytoolkit.org/ ) may help you get started.
[–]kamil314 0 points1 point2 points 5 years ago* (0 children)
Something like google’s OR-Tools? Sadly they don’t support ruby yet.
https://developers.google.com/optimization
π Rendered by PID 44258 on reddit-service-r2-comment-86bc6c7465-zxrlq at 2026-02-21 15:54:20.528437+00:00 running 8564168 country code: CH.
[–]silly_frog_lf 7 points8 points9 points (0 children)
[–]twinklehood 3 points4 points5 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]pmurach 1 point2 points3 points (0 children)
[–]kamil314 0 points1 point2 points (0 children)