Skip to content

Conversation

@rickhull
Copy link

@rickhull rickhull commented Oct 31, 2017

This PR is based on Modernize and Array. This adds a parse module that allows:

Simplex.maximize('x + y',
                 '2x + y <= 4',
		 'x + 2y <= 3')

# => [1.6666666666666667, 0.6666666666666666]

@rickhull
Copy link
Author

FYI, I folded all of my changes into my own project: https://github.com/rickhull/compsci/blob/master/lib/compsci/simplex.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant