Question Answering
Rust
English
optimization-ai999x
optimization
operations-research
linear-programming
integer-programming
network-optimization
queueing
inventory
scheduling
game-theory
mcda
linear-and-integer-programming
convex-and-nonlinear-optimisation
assignment
optimization-solver
step-by-step-solutions
homework-help
offline
zero-hallucination
python
ai999x
Eval Results (legacy)
Download docs/optimization_ai999x_desktop_guide.html from AI999X/optimization-ai999x: direct link, hf CLI and curl.
- Browser
- Download file 12.6 kB
-
https://huggingface.co/AI999X/optimization-ai999x/resolve/main/docs/optimization_ai999x_desktop_guide.html
- Command line
-
hf download hf://AI999X/optimization-ai999x/docs/optimization_ai999x_desktop_guide.html
-
curl -L -o optimization_ai999x_desktop_guide.html https://huggingface.co/AI999X/optimization-ai999x/resolve/main/docs/optimization_ai999x_desktop_guide.html
12.6 kB
| <html><head><meta charset="utf-8"><title>Optimization: desktop app user guide</title> | |
| <script>window.MathJax={tex:{inlineMath:[['$','$']],displayMath:[['\\[','\\]']]},svg:{fontCache:'global'}};</script> | |
| <script src="https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-svg.js"></script> | |
| <style> | |
| @page{size:A4;margin:16mm 15mm} | |
| body{font-family:"Segoe UI",Arial,sans-serif;font-size:10.5pt;line-height:1.45;color:#1b1f24;max-width:880px;margin:auto} | |
| h1{font-size:22pt;border-bottom:2px solid #2b5c8a;padding-bottom:4px;margin-top:28px;page-break-before:always} | |
| h1:first-of-type{page-break-before:avoid} | |
| h2{font-size:15pt;color:#2b5c8a;margin-top:22px;page-break-after:avoid} | |
| h3{font-size:12pt;margin-top:16px;page-break-after:avoid} | |
| pre{background:#f4f6f8;border:1px solid #dde3e8;border-radius:4px;padding:8px 10px;font-size:8.8pt;white-space:pre-wrap;page-break-inside:avoid} | |
| code{font-family:Consolas,monospace;font-size:9pt;background:#f4f6f8;padding:0 2px} | |
| pre code{background:none;padding:0} | |
| table{border-collapse:collapse;margin:8px 0;font-size:9pt;width:100%;page-break-inside:auto} | |
| th,td{border:1px solid #cfd6dd;padding:3px 6px;vertical-align:top;text-align:left} | |
| th{background:#eaf0f5} | |
| .math{margin:6px 0;overflow-x:auto} | |
| .badge{display:inline-block;color:#fff;border-radius:3px;padding:0 5px;font-size:8.5pt;white-space:nowrap} | |
| figure{margin:10px 0;text-align:center;page-break-inside:avoid}figure img{max-width:88%}.svgfig svg{max-width:88%;height:auto} | |
| figcaption{font-size:9pt;color:#555} | |
| .pb{page-break-after:always} | |
| </style></head><body> | |
| <h1>Optimization: the desktop app, user guide</h1> | |
| <p><strong>Optimization</strong>, desktop app 1.6.5 for Windows and Linux. <strong>Creator / engineer:</strong> Ibnul Jaif Farabi · <strong>Company:</strong> AI999X · support@ai999x.com</p> | |
| <p>Optimization covers linear and integer programming, convex and nonlinear optimisation, assignment, transportation and shortest-route problems, scheduling, inventory, queueing, game theory and multi-criteria decisions. Its desktop app holds all 73 calculations in 16 topics: pick one, change its inputs and the answer, a live scene and charts follow at once. It runs on your own computer with no network connection and nothing else to install. The pictures in this guide were taken in this app.</p> | |
| <h2>Contents</h2> | |
| <ul><li>1. Get it and start it</li><li>2. The window</li><li>3. Compute a calculation</li><li>4. Ask in words</li><li>5. The live scene and the charts</li><li>6. Light and dark</li><li>7. Every calculation</li><li>8. Other ways to use it</li></ul> | |
| <h2>1. Get it and start it</h2> | |
| <table><thead><tr><th>system</th><th>download</th></tr></thead><tbody><tr><td>Windows x86-64</td><td>https://github.com/AI999X/ai999x-desktop/releases/download/v1.6.5/ai999x-optimization-1.6.5-windows-x86_64.zip</td></tr><tr><td>Linux x86-64</td><td>https://github.com/AI999X/ai999x-desktop/releases/download/v1.6.5/ai999x-optimization-1.6.5-linux-x86_64.tar.gz</td></tr></tbody></table> | |
| <p>Windows: Download ai999x-optimization-1.6.5-windows-x86_64.zip, right-click it → Extract All, then open the folder and start ai999x-optimization.exe. If Windows SmartScreen asks, choose More info → Run anyway.</p> | |
| <p>Linux:</p> | |
| <pre><code class="shell">curl -LO https://github.com/AI999X/ai999x-desktop/releases/download/v1.6.5/ai999x-optimization-1.6.5-linux-x86_64.tar.gz | |
| curl -LO https://github.com/AI999X/ai999x-desktop/releases/download/v1.6.5/SHA256SUMS | |
| sha256sum -c --ignore-missing SHA256SUMS | |
| tar xzf ai999x-optimization-1.6.5-linux-x86_64.tar.gz | |
| ./ai999x-optimization-1.6.5-linux-x86_64/ai999x-optimization</code></pre> | |
| <p>Checksums of every download: https://github.com/AI999X/ai999x-desktop/releases/download/v1.6.5/SHA256SUMS. Install steps for every app: https://www.ai999x.com/desktop-cli/</p> | |
| <h2>2. The window</h2> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/hero.webp"><figcaption>The Optimization app, opened on Transportation problem (minimum shipping cost) with its worked example.</figcaption></figure> | |
| <p>On the left, a search box and the topics with their calculations. In the middle, the chosen calculation: its answer at the top, then the live scene (or its charts), what the answer means and the formula. On the right, its inputs, each with a slider where that makes sense, and the Compute and Reset buttons. At the bottom, a box for a question in words.</p> | |
| <h2>3. Compute a calculation</h2> | |
| <p>Open Network optimisation › Transportation problem (minimum shipping cost) (or type part of its name in the search box). It opens with a worked example filled in: “Solve the transportation problem with supply [20, 30], demand [10, 25, 15] and cost matrix [[2, 3, 1], [5, 4, 8]].” The answer: min_cost = 150, shipments = [[5, 0, 15], [5, 25, 0]], plan_unique = yes, dual = [-3, 0, 5, 4, 4].</p> | |
| <p>Change any input (type a number with its unit, or drag its slider) and the answer, the scene and the charts follow; Compute recomputes after typing, Reset brings back the worked example. An input outside the range the formula holds for is refused with the reason, never answered with a guessed number.</p> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/scene-1.webp"><figcaption>Transportation problem (minimum shipping cost): the live scene of the worked example.</figcaption></figure> | |
| <h2>4. Ask in words</h2> | |
| <p>Type a question as you would say it, for example “Solve the transportation problem with supply [20, 30], demand [10, 25, 15] and cost matrix [[2, 3, 1], [5, 4, 8]].” The app reads the quantities and their units, picks the calculation and answers; the command-line program reads it the same way and printed:</p> | |
| <pre><code class="text">Read as: Transportation problem (minimum shipping cost) | |
| min_cost = 150 | |
| shipments = [[5.0,0.0,15.0],[5.0,25.0,0.0]]</code></pre> | |
| <p>When a question names a quantity the app cannot place, it says what is missing instead of guessing.</p> | |
| <h2>5. The live scene and the charts</h2> | |
| <p>Every calculation draws a scene from its answer: it moves as an input changes. The Charts button shows charts that vary one input around your values; Enlarge opens one in a large view. Scenes from other topics:</p> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/scene-2.webp"><figcaption>Economic order quantity (EOQ)</figcaption></figure> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/scene-3.webp"><figcaption>AHP consistency ratio</figcaption></figure> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/scene-4.webp"><figcaption>Pure-strategy Nash equilibria of a bimatrix game</figcaption></figure> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/scene-5.webp"><figcaption>Closed cylinder of least surface area for a given volume</figcaption></figure> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/scene-6.webp"><figcaption>Break-even quantity</figcaption></figure> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/scene-7.webp"><figcaption>Discounted Markov decision process (optimal values and policy)</figcaption></figure> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/scene-8.webp"><figcaption>0/1 knapsack problem</figcaption></figure> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/chart-1.webp"><figcaption>Transportation problem (minimum shipping cost): a chart, enlarged.</figcaption></figure> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/chart-2.webp"><figcaption>Economic order quantity (EOQ): a chart, enlarged.</figcaption></figure> | |
| <h2>6. Light and dark</h2> | |
| <p>The app follows a light or a dark theme (the switch is in its top bar).</p> | |
| <figure><img src="https://www.ai999x.com/?ax_shot=optimization-ai999x/hero-dark.webp"><figcaption>The Optimization app in the dark theme.</figcaption></figure> | |
| <h2>7. Every calculation</h2> | |
| <p>73 calculations in 16 topics; each has its own entry on the model's page (https://www.ai999x.com/models/optimization-ai999x/) with its formula, worked example and charts.</p> | |
| <table><thead><tr><th>topic</th><th>calculations</th></tr></thead><tbody><tr><td>Calculus optimisation</td><td>Absolute extrema of a polynomial on a closed interval, Closed cylinder of least surface area for a given volume, Critical point of a two-variable quadratic and its classification, Largest rectangle for a given length of fencing, Open box of maximum volume from a rectangular sheet</td></tr><tr><td>Cost-volume-profit analysis</td><td>Break-even quantity</td></tr><tr><td>Dynamic programming</td><td>Discounted Markov decision process (optimal values and policy), Dynamic lot sizing (Wagner-Whitin)</td></tr><tr><td>Economic optimisation</td><td>Profit-maximising output with linear demand, Revenue-maximising price with linear demand</td></tr><tr><td>Game theory</td><td>2 x 2 zero-sum game (saddle point or mixed-strategy formula), Mixed-strategy Nash equilibrium of a 2 x 2 game, Pure-strategy Nash equilibria of a bimatrix game, Two-person zero-sum game (value and optimal mixed strategies)</td></tr><tr><td>Integer programming</td><td>0/1 knapsack problem, Bin packing (minimum number of bins), Chromatic number (minimum graph colouring), Integer linear program (branch and bound), Minimum vertex cover (and maximum independent set), Minimum-cost set cover, Unbounded knapsack problem, Uncapacitated facility location</td></tr><tr><td>Inventory management</td><td>Economic order quantity (EOQ), Economic production quantity (EPQ), EOQ with planned backorders, Newsvendor order quantity (discrete demand), Newsvendor order quantity (normal demand), Newsvendor order quantity (uniform demand), Order quantity with quantity discounts (all-units), Periodic-review order-up-to level, Reorder point with safety stock</td></tr><tr><td>Linear programming</td><td>Linear program (simplex method), LP duality and sensitivity ranges, Shadow prices of a linear program, Two-variable linear program (graphical corner-point method)</td></tr><tr><td>Multi-criteria decision analysis</td><td>AHP consistency ratio, AHP priority vector (principal eigenvector), AHP weights by the geometric mean method, TOPSIS ranking (closeness to the ideal solution), Weighted product model, Weighted sum model (simple additive weighting)</td></tr><tr><td>Network optimisation</td><td>All-pairs shortest distances (Floyd-Warshall), Assignment problem (Hungarian method), maximum total value, Assignment problem (Hungarian method), minimum total cost, Maximum bipartite matching, Maximum flow and minimum cut (Edmonds-Karp), Maximum-weight matching (general graph), Minimum spanning tree (Kruskal's algorithm), Minimum-cost flow (transshipment), Shortest path (Dijkstra's algorithm), Shortest path with negative weights (Bellman-Ford), Transportation problem (minimum shipping cost), Travelling salesman tour (exact, Held-Karp)</td></tr><tr><td>Nonlinear optimisation</td><td>Equality-constrained quadratic program (Lagrange multipliers / KKT), Steepest descent step with exact line search (quadratic), Unconstrained quadratic minimisation</td></tr><tr><td>Project scheduling</td><td>Critical path method (project duration and slack), PERT project duration and completion probability</td></tr><tr><td>Queueing theory</td><td>Erlang B blocking probability (M/M/c/c loss system), M/G/1 queue (Pollaczek-Khinchine formula), M/M/1 queue, M/M/c queue (Erlang C), M/M/c/K queue (finite capacity), Machine-repair (finite-source) queue, Minimum number of servers for a service target (Erlang C)</td></tr><tr><td>Revenue management</td><td>Littlewood's rule (two-fare protection level)</td></tr><tr><td>Scheduling</td><td>Earliest due date rule (minimum maximum lateness), Johnson's rule (two-machine flow shop), Minimum makespan on identical parallel machines, Moore-Hodgson algorithm (minimum number of tardy jobs), Shortest processing time rule (minimum mean flow time), Weighted shortest processing time (Smith's rule)</td></tr><tr><td>Unconstrained optimisation</td><td>Optimum of a quadratic function</td></tr></tbody></table> | |
| <h2>8. Other ways to use it</h2> | |
| <p>The same engine runs on the command line (<code>optimization</code>, its own guide), in Python (<code>pip install optimization-ai999x</code>, <code>import optimization_ai999x</code>, its own guide) and in the browser on https://www.ai999x.com/models/optimization-ai999x/.</p> | |
| <p>Licence: Apache-2.0 · AI999X · https://www.ai999x.com/models/optimization-ai999x/</p></body></html> | |