General Math Modeling Workflow
Paste the following prompt into your AI chat to install this skill:
Please install @user_3937f0b6/math-modeling-solver according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem it addresses
Math modeling competition tasks are rarely one clean formula. They are multi-part, constraint-heavy, data-driven problems where speeds, time windows, capacity, penalties, and carbon factors hide in the statement and Excel or CSV files. The next part often adds new constraints on top of the previous one. A direct solve attempt can easily miss parameters, violate constraints, or produce results that cannot be reviewed.
How the workflow works
The skill turns the solution process into inspectable stages:
- Understand the problem: read the statement and data files, then separate sub-problems, objectives, constraints, and parameters.
- Design the architecture: choose
Mixed Integer Programming, heuristics, or dynamic programming; plan data loading, initial construction,2-opt, constraint checks, and cost calculation. - Implement the solver: use Python,
pandas, andnumpyto build distance matrices and cost functions for time-dependent travel, U-shaped energy use, soft time windows, and carbon pricing. - Validate and analyze: find violating routes, apply targeted fixes, and export
problemX_solver.py,problemX_result.json,problemX_result.txt, and figures.
It emphasizes multi-problem progression: Problem N+1 starts from the Problem N baseline, adds new constraints incrementally, and compares results across parts.
Boundaries
It fits well for vehicle routing, cost optimization, and multi-constraint planning where metrics can be quantified. For proof-heavy, ambiguous, or data-free competition problems, assumptions and scoring criteria need manual clarification.
Use Cases
- While preparing a CUMCM multi-part routing optimization, turn the statement, Excel data, and constraints into a Python solver.
- When solving vehicle routing sub-problems, add new constraints to the first problem baseline and export JSON/TXT results.
- When checking routes that violate time windows, locate the root cause, fix the cost function, and re-run validation.
- While packaging competition results, generate route maps, cost summaries, and cross-problem comparison reports.
Best For
- CUMCM or Huazhong Cup participants who need to turn multi-part constraints into runnable solvers.
- Students working on vehicle routing and cost optimization courses who need JSON results and human-readable summaries.
- Mentors guiding competition training who need to review multi-problem progression, constraint checks, and cross-problem comparisons.
- Data science graduate students who need to connect Excel data, distance matrices, and 2-opt search into a reproducible workflow.
Related Skills
A five-phase coaching workflow for career positioning, resume optimization, mock interviews, offer comparison, and salary negotiation.
Recommends introductory philosophy books by school and explains abstract concepts through everyday examples.
Reviews CET, postgraduate, and IELTS essays paragraph by paragraph without a prompt, adding scores, a 7.5-level rewrite, and bilingual comparisons.
Pushes daily Zizhi Tongjian entries with original text, translation, and analysis, and supports jumping by volume or year, searching people or events, and tracking progress.