Simplex Calculator

General
  • name your variables "x1", "x2", etc.
  • for coefficients you can use integers, decimals and fractions, e.g. "2x1 + 3.5x2 + (5 / 3)x3 - (3.2 / 5.7)x4"
  • you can use asterisk after coefficients for better readability, e.g. "2 * x1 + 3.5 * x2 - (2 / 5) * x3"
Constraints
  • put one constraint per line
  • all 3 constraint operators are supported: "<=", ">=" and "="
  • you can use interval shorthand like "15 <= 5x1 + 2x2 <= 40"
  • for negative fractional constraint value use format "- N / D", e.g. "x1 + 2x2 >= - 3 / 5"
  • you don't have to list all variables from objective function – missing variables are automatically added with coefficient 0

Created by kesspess | See the library on GitHub