Skip to content

Batch 2: add family-setup sequencing optimize task - #68

Open
XIOQIGE wants to merge 3 commits into
Halley-Lab:mainfrom
XIOQIGE:hee-batch-2
Open

XIOQIGE wants to merge 3 commits into
Halley-Lab:mainfrom
XIOQIGE:hee-batch-2

Conversation

@XIOQIGE

@XIOQIGE XIOQIGE commented Dec 6, 2026

Copy link
Copy Markdown

This is batch 2 of the HEE contribution. hee ls --drafts reports 0 unformalized drafts on current main (there are no README-only problem folders in the repository), so no other contributor's draft was available to formalize. Per the batch-2 scope, this PR adds the allowed optimize task instead.

Added problem

family-setup-sequencing (optimize track, MODE = "minimize", field: scheduling)

A single machine must process n = 120 jobs from F = 8 families. Processing times p_j, weights w_j, and an asymmetric 8 x 8 setup matrix s[a][b] (switch cost between families, 5..40) are supplied by the generated instance. The objective is total weighted completion time

score(order) = sum_j w_j * C_j,

where C_j includes all setups and processing before job j. A solver returns a permutation of 0..119; the required mean score over the six holdout instances is <= 382000 within TIME_LIMIT_S = 10.0 on one CPU thread.

  • baseline.py is a clean reference: group by family, Smith order within each family, nearest-setup tour over families. Holdout mean: 410667.666667.
  • The target 382000 is about 0.93 x the baseline mean. Calibration: a two-opt segment-reversal local search improved the holdout mean by 5-17 % across seeds (best single-case ratio 0.8355, worst 0.9446), so the target sits inside the empirically reachable gap but above what the baseline construction achieves.
  • All arithmetic is exact integer data; the score is deterministic.

Verification (all local, before opening this PR)

$ hee check family-setup-sequencing
{
  "problem_id": "family-setup-sequencing",
  "format": "optimize",
  "domain": "optimize:minimize",
  "mode": "minimize",
  "target": 382000.0,
  "runtime": "cpu",
  "formalizer": "@XIOQIGE",
  "cases": 12,
  "baseline_score": 410667.666667,
  "proposer": "@XIOQIGE",
  "tag": "original"
}

$ hee check
Checked 35 problems and 17 proofs/disproofs: 0 failure(s).

$ hee review --base origin/main --author XIOQIGE
[OK] problems/family-setup-sequencing: optimization problem (minimize, target 382000, baseline 410667.666667) verified; ...
Review against origin/main: 0 error(s). Needs: review.

$ python -m unittest discover -s tests
Ran 76 tests in 26.560s
OK (skipped=1)

The [OK] unknown-slug notes are because deepseek-harness / deepseek-flash are not yet entries in hee/registry.json; they are the actual harness/model used and are disclosed below.

AI disclosure

  • agent: deepseek-harness
  • model: deepseek-flash
  • reasoning_effort: unavailable (the harness does not expose the selected setting)

README.md and task.py record proposer: "@XIOQIGE" / FORMALIZER = "@XIOQIGE" and the same harness / model / reasoning_effort fields.

Status of the first PR

PR #67 (propose-original-constructions) is still OPEN / MERGEABLE with Referee CI green and is awaiting maintainer review. This batch does not modify or resubmit any of its files.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant