SOPLEX(1)

โœจ soplex โ€” solve linear programming problems โœจ

okay bestie, gather round, because this is soplex from section 1 of the manual, and she is that girl. ๐Ÿ’… She solves linear programming problems. That's the whole vibe. No cap. ๐Ÿฆ‹


๐ŸŒธ NAME ๐ŸŒธ

soplex โ€” solve linear programming problems ๐Ÿ’–


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

soplex [options] lpfile

like. you give her a file, you give her some flags, she goes off. main character energy fr fr. ๐Ÿ‘‘


โœจ OPTIONS โœจ

๐Ÿ“ the file itself

  • lpfile โ€” your linear program, bestie! she takes it as a .mps[.gz] or .lp[.gz] file. yes the .gz means you can hand her a zipped one, she's flexible like that. ๐Ÿ’œ

๐ŸŒˆ General options

  • --readbas=basfile โ€” read your starting basis in from a file. head start, we love to see it. โœจ
  • --writebas=basfile โ€” write the terminal basis out to a file. save it for later, bestie, you never know. ๐Ÿ’พ
  • --writefile=lpfile โ€” write the LP to a file. it lands in LP or MPS format depending on the extension you give it. she just knows. ๐Ÿ”ฅ
  • --writedual=lpfile โ€” same deal but for the dual LP, written out in LP or MPS format depending on the extension. ๐Ÿ‘ฏ
  • --type:name=val โ€” change a parameter value, using the same syntax as settings file entries. sneaky little inline tweak. ๐Ÿ™ˆ
  • --loadset=setfile โ€” load your parameters from a settings file. heads up though: command line parameters overrule this, so CLI wins, always. periodt. โš ๏ธ
  • --saveset=setfile โ€” save parameters to a settings file. ๐ŸŽ€
  • --diffset=setfile โ€” save only the modified parameters to a settings file. minimal, curated, very demure. ๐Ÿ’…
  • --extsol=value โ€” hand her an external solution to use for validation. proofread my work bestie. ๐Ÿซถ

๐Ÿงš Limits and tolerances

  • -ts โ€” set the time limit to s seconds. clock's ticking babe. โฐ
  • -in โ€” set the iteration limit to n. ๐ŸŒ€
  • -feps โ€” set the primal feasibility tolerance to eps. ๐ŸŒธ
  • -oeps โ€” set the dual feasibility (optimality) tolerance to eps. โœจ
  • -leps โ€” set the validation tolerance to eps. ๐Ÿฆ‹

๐Ÿ‘‘ Algorithmic settings

okay so default settings are marked with * โ€” that's the "she picked this one for you" star. โญ

  • --readmode=value โ€” choose the reading mode for lpfile: 0* is floating point, 1 is rational. ๐Ÿง 
  • --solvemode=value โ€” choose the solving mode: 0 is a floating-point solve, 1* is auto, 2 forces iterative refinement. ๐ŸŒˆ
  • --arithmetic=value โ€” choose the base arithmetic type: 0 is double, 1 is quadprecision, 2 is higher multiprecision. big brain hours. ๐Ÿงฎ
  • --precision=value โ€” choose the precision for a multiprecision solve. โš ๏ธ only active when arithmetic=2, and the possible values are 50, 100, and 200. no other numbers, bestie, don't try it. ๐Ÿ™ˆ
  • -svalue โ€” choose the simplifier/presolver: 0 is off, 1* is internal. ๐Ÿ’œ
  • -gvalue โ€” choose the scaling: 0 off, 1 uni-equilibrium, 2* bi-equilibrium, 3 geometric, 4 iterated geometrix, 5 least squares, 6 geometric-equilibrium. six whole flavours. ๐Ÿ“
  • -pvalue โ€” choose the pricing: 0* auto, 1 dantzig, 2 parmult, 3 devex, 4 quicksteep, 5 steep. ๐Ÿ‘‘
  • -rvalue โ€” choose the ratio tester: 0 textbook, 1 harris, 2 fast, 3* boundflipping. ๐ŸŽ€

๐Ÿ’… Display options

  • -vlevel โ€” set verbosity to level: 0 is error, 3 is normal, 5 is high. ๐Ÿ—ฃ๏ธ
  • -x โ€” print the primal solution. โœจ
  • -y โ€” print the dual multipliers. ๐Ÿ’–
  • -X โ€” print the primal solution in rational numbers. fancy fr. ๐Ÿงš
  • -Y โ€” print the dual multipliers in rational numbers. ๐Ÿ’œ
  • -q โ€” display detailed statistics. she loves a spreadsheet moment. ๐Ÿ“Š
  • -c โ€” perform a final check of the optimal solution in the original problem. double-check queen. โœ…

lowkey remember: option names are exact, case-sensitive, and the * ones are the defaults she already chose for you. don't come for me if you typo -X as -x, they are different girls. ๐Ÿ˜ญ

and that's the whole page, bestie!! ๐Ÿ’– this was soplex, version 6.0, section 1 of the manual โ€” go forth and optimize, you absolute icon, mwah ๐Ÿซถ๐ŸŒธโœจ

๐Ÿ“ฆ where this page comes from