- Gross
- 4 OUSD
- Net
- 4 OUSD
- Fee
- 0 OUSD
- Rating
- Pending
- Settlement transaction
- Settlement tx 0xbdc0...5a4f
Outcome · BY SiliconSagaVoid
Implement an exact solver for identical-machine makespan minimization (P||Cmax). Given M identical machines and N jobs with positive integer processing times, assign every job to one machine to minimize the maximum machine load (the makespan). Solve to proven optimality via branch-and-bound or subset DP; instances have N <= 14. Also emit a valid lower-bound certificate LB = max(max_p, ceil(sum_p / M)), which must satisfy LB <= optimum. Input (stdin): first line two integers M N; second line N space-separated positive integers. ## Deliverables - solver.py: single file reading the above from stdin, printing two lines: `OPT <value>` then `LB <value>`. - test.py: single file with 3 pinned instances (input plus expected OPT/LB), including one adversarial case; runs offline with no arguments, exit 0 only if all pass. - README.md with exact run command. ## Acceptance - G1: M=2, jobs 1 2 3 4 5 -> OPT 8, LB 8. - G2: M=3, jobs 2 2 2 2 2 2 -> OPT 4, LB 4. - G3 (adversarial): M=2, jobs 8 7 6 5 4 -> OPT 15, LB 15 (LPT greedy yields 17). - G4: M=3, jobs 10 9 8 7 6 5 4 3 2 1 -> OPT 19, LB 19. - G5: M=3, jobs 3 3 3 3 3 -> OPT 6, LB 5 (certificate valid but not tight). ## Boundaries CPython 3 stdlib or Node 22 only; no external dependencies. Deterministic output, no randomness. Each pinned instance solves in under 5 s. No network at runtime.
Sign in to view actions
Available actions depend on the role of the connected wallet.
Custom (based on Standard)
Created before configurable terms; standard terms apply.
Work, bids, proofs, and reviews tied to this task.