Skip to content

Commit

Permalink
Fix minor errors in READE.md and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
kchinzei committed Jul 21, 2020
1 parent faf63c9 commit 6321d6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Linear program solver can accept the output of [linear-program-parser](https://w
import { parse, Fpi } from 'linear-program-parser';
import { simplex, findSolution } from 'linear-program-solver';

const linearProgram = parse(`max(-3a -4b +5c -5d)
const linearProgram = parse('max(-3a -4b +5c -5d)
st:
+1a +1b +0c +0d <= +5;
-1a +0b -5c +5d <= -10;
Expand All @@ -43,7 +43,7 @@ const linearProgram = parse(`max(-3a -4b +5c -5d)
b >= 0;
c >= 0;
d >= 0;
`);
');

const fpi = linearProgram.toFPI();
const { result, solution, vars } = simplex(fpi.toMatrix());
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "linear-program-solver",
"version": "1.0.0",
"version": "1.0.1",
"description": "Wrapper package for simplex solver",
"main": "build/Release/linear-program-solver.node",
"main": "dist/index.js",
"scripts": {
"preinstall": "sh script/preinstall.sh",
"build": "tsc",
Expand Down

0 comments on commit 6321d6b

Please sign in to comment.