Problem
Classical optimization problems carry hard feasibility constraints that vanilla language models often violate.
NLP & ML Research · 202570h → 11.5h fine-tuning
Course research on fine-tuning Llama 3.1 8B with graph-augmented prompts for job-shop scheduling (JSSP).
Classical optimization problems carry hard feasibility constraints that vanilla language models often violate.
Our team of three modeled JSSP instances as disjunctive graphs, serialized precedence and machine conflicts into the prompt, and fine-tuned Llama 3.1 8B with 4-bit QLoRA.
The pipeline produced a much more structured optimization workflow and made training/runtime tradeoffs manageable for course-scale experimentation.
Step 1 of 5: JSSP instance
Course research project under Prof. Aijun An at York University, built in a team of three.
I treated scheduling as a structure-first problem instead of a pure prompting problem. The project converts job shop instances into graph-shaped representations so the model sees precedence and machine conflicts explicitly.
The project became stronger once I stopped asking whether the LLM could "solve optimization" in the abstract and started asking whether the representation exposed enough constraint information for the model to reason over.