jkitchin/discopt

A discrete optimization package with interior point and exterior swagger

24Stars on the repository
26Mods indexed here, across every type
2d agoLast push, which is what freshness is scored on
EPL-2.0Licence, which decides whether bodies are shown

benchmark-report

01

jkitchin/discopt

Command

Read discopt benchmark result JSON and produce a narrative performance report — solve counts, timing (shifted geometric mean), solution quality, layer profiling, performance profiles, and regression detection. Use to analyze or compare benchmark runs.

24 2d ago A 44 tokens EPL-2.0

convert

02

jkitchin/discopt

Command

Translate a discopt model to or from another algebraic modeling language (Pyomo, GAMS, AMPL, JuMP) or file format. Use to port a model in/out of discopt. For machine file formats (.gms/.nl/.mps/.lp), prefer the built-in discopt convert CLI.

24 2d ago A 67 tokens EPL-2.0

debug

03

jkitchin/discopt

Command

Debug a broken discopt setup, model, or solve. Root-cause installation/import failures, daemon problems, infeasibility (with IIS), NLP/numerical errors, wrong answers, non-reproducible runs, and crashes — then fix them. Use when something is broken or behaving unexpectedly, as opposed to /diagnose which interprets a…

24 2d ago A 75 tokens EPL-2.0

diagnose

04

jkitchin/discopt

Command

Interpret a discopt SolveResult or solver output and recommend concrete next steps — status, gap, timing, and layer profiling. Use for a solve that completed (optimal/feasible/timelimit/etc.) and you want to understand or improve it. For something broken, crashing, or infeasible, use /debug instead.

24 2d ago A 64 tokens EPL-2.0

estimate

05

jkitchin/discopt

Command

Fit unknown model parameters to experimental data with discopt — build an Experiment, run estimateparameters(), and interpret estimates, confidence intervals, FIM, and identifiability. Use for parameter estimation / regression / model calibration from data.

24 2d ago A 46 tokens EPL-2.0

explain-model

06

jkitchin/discopt

Command

Read a discopt model and produce a formal mathematical formulation (LaTeX/Markdown) — sets, parameters, variables, objective, constraints — plus plain-English descriptions. Use to document a model or generate its math write-up.

24 2d ago A 46 tokens EPL-2.0

formulate

07

jkitchin/discopt

Command

Translate a natural-language optimization problem into a complete, runnable discopt model — variables, objective, constraints, validation, and a solve call. Use when the user describes a problem in words and wants discopt model code.

24 2d ago A 44 tokens EPL-2.0

reformulate

08

jkitchin/discopt

Command

Analyze a discopt model and suggest reformulations that strengthen relaxations, tighten bounds, exploit structure, or speed up the solve — big-M, bilinear/McCormick, RLT, PSD/SOC, GDP hull, geometric programming, decomposition, FBBT. Use to make an existing model solve faster or close the gap.

24 2d ago A 68 tokens EPL-2.0