jijpresolve.evaluate_miplib
Manual MIPLIB presolve reduction evaluation.
Attributes
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents
- jijpresolve.evaluate_miplib.SCHEMA_VERSION = 1
- jijpresolve.evaluate_miplib.PRESET_ALL = 'all'
- jijpresolve.evaluate_miplib.PRESET_MIPLIB_BENCHMARK_SUITABLE = 'miplib-benchmark-suitable'
- jijpresolve.evaluate_miplib._utc_now_iso() str
- jijpresolve.evaluate_miplib._tags(annotations: dict[str, str]) list[str]
- jijpresolve.evaluate_miplib._select_instances(selector: str, annotations: dict[str, dict[str, str]]) list[str]
- jijpresolve.evaluate_miplib._stat(stats: dict[str, Any], *path: str) int
- jijpresolve.evaluate_miplib._usage(stats: dict[str, Any], key: str) int
- jijpresolve.evaluate_miplib._constraints(stats: dict[str, Any], key: str) int
- jijpresolve.evaluate_miplib._reduced(before: int, after: int) dict[str, int | float | None]
- jijpresolve.evaluate_miplib._increased(before: int, after: int) dict[str, int]
- jijpresolve.evaluate_miplib._compute_reduction(original_stats: dict[str, Any], presolved_stats: dict[str, Any]) dict[str, Any]
- jijpresolve.evaluate_miplib._write_json_atomic(path: pathlib.Path, data: dict[str, Any]) None
- jijpresolve.evaluate_miplib._options(args: argparse.Namespace) dict[str, Any]
- jijpresolve.evaluate_miplib._result_record(*, instance: str, status: str, started_at: str, options: dict[str, Any], elapsed_sec: float, error: str | None = None, miplib_status: str | None = None, miplib_tags: list[str] | None = None, original_stats: dict[str, Any] | None = None, presolved_stats: dict[str, Any] | None = None, reduction: dict[str, Any] | None = None, presolve_stats: dict[str, Any] | None = None, load_elapsed_sec: float | None = None, presolve_elapsed_sec: float | None = None) dict[str, Any]
- jijpresolve.evaluate_miplib._run_worker(args: argparse.Namespace) int
- jijpresolve.evaluate_miplib._worker_command(args: argparse.Namespace, instance: str, output: pathlib.Path) list[str]
- jijpresolve.evaluate_miplib._run_instance(args: argparse.Namespace, instance: str) None
- jijpresolve.evaluate_miplib._default_output_dir() pathlib.Path
- jijpresolve.evaluate_miplib._build_parser() argparse.ArgumentParser
- jijpresolve.evaluate_miplib.main() int