Skip to content

Parse#4

Open
rickhull wants to merge 37 commits into
danlucraft:masterfrom
rickhull:parse
Open

Parse#4
rickhull wants to merge 37 commits into
danlucraft:masterfrom
rickhull:parse

Conversation

@rickhull

@rickhull rickhull commented Oct 31, 2017

Copy link
Copy Markdown

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
Copy Markdown
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