Commit graph

31 commits

Author SHA1 Message Date
Pagwin
d7b4bf79b1
giving up on this in favor of complete redo 2026-06-17 16:29:49 -04:00
Pagwin
24f58765ac
feat: expose objective_factors and objective_mode in web UI
The solver form gains an Objective section with a product/sum mode
select and per-resource factor inputs (E/B/S/C, zero = excluded).
The /solve handler parses both fields and forwards them to solve(),
falling back to solve.py defaults when omitted.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 21:48:42 -04:00
Pagwin
47e21678df
yeet fixed choices from solve 2026-06-11 20:11:56 -04:00
Pagwin
57c2157134
feat: report prints the actually maximized objective
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 19:30:52 -04:00
Pagwin
98eeb18e3c
feat: build objective from factors dict in product or sum mode 2026-06-11 19:28:20 -04:00
Pagwin
43636d330e
feat: compute resource ceilings only for objective resources
Modify solve() to only compute ceilings (_ceiling solver calls) for
resources that appear in the objective function (where obj_factors[k] != 0).
This avoids unnecessary 20s ceiling solves for resources not contributing
to the maximize criterion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 19:26:18 -04:00
Pagwin
ead700adf4
feat: solve() accepts objective_factors and objective_mode
Add objective_factors and objective_mode as optional parameters to solve().
Resolve defaults at function entry and validate using existing _validate_objective.
Normalize objective_factors to ensure all required keys (EBSC) are present.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 19:22:59 -04:00
Pagwin
8a775dd941
feat: add objective factors/mode defaults and validation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 19:20:50 -04:00
Pagwin
feb5c1cb76
chore: ignore .worktrees directory 2026-06-11 19:17:46 -04:00
Pagwin
652126acf9
plan: configurable maximize criteria implementation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 19:13:36 -04:00
Pagwin
d18e533559
spec: configurable maximize criteria for solve()
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 19:07:58 -04:00
Pagwin
023fdefe89
web solve is back to home setup and solve prioritizes electrum and steel over brass again 2026-06-11 16:57:47 -04:00
Pagwin
36e3117966
remove economst 2026-06-10 13:00:06 -04:00
Pagwin
b8b21bad6b
minor fixes to actually do something with agent availability 2026-06-10 12:44:59 -04:00
Pagwin
70c65fa178
docker compose 2026-06-10 12:44:37 -04:00
Pagwin
5d75d80a87
README 2026-06-09 17:09:09 -04:00
Pagwin
4f9a980cfb
safety bars 2026-06-09 16:59:58 -04:00
Pagwin
0900bbaabd
accidental format + added a warning 2026-06-09 16:58:56 -04:00
Pagwin
17020b857c
added resource constraints 2026-06-09 16:53:35 -04:00
Pagwin
3e604324ad
web server with docker container 2026-06-09 15:26:51 -04:00
Pagwin
b1dba083a0
starting on a web ui 2026-06-09 13:33:39 -04:00
Pagwin
041bf9febc
allowing fixed moves 2026-06-09 13:32:55 -04:00
Pagwin
7229124bb5
stuff 2026-06-09 12:57:36 -04:00
Pagwin
9711aa5bac
... 2026-06-08 15:02:45 -04:00
Pagwin
d17ffbdb45
moved main-2 to main 2026-06-08 14:34:45 -04:00
Pagwin
8bb6877e1b
main-2 done 2026-06-08 14:34:27 -04:00
Pagwin
2556352193
... 2026-06-08 11:35:22 -04:00
Pagwin
a8e2a736ea
more customizable criteria 2026-06-05 14:35:18 -04:00
Pagwin
d88b7c0319
linear objective sucks returning to multiplication 2026-06-05 14:14:01 -04:00
Pagwin
2db8ff63c7
added intermediate printing 2026-06-05 13:57:00 -04:00
Pagwin
87b6529671
before LLM fucks things up 2026-06-05 12:04:15 -04:00