Flagship project, BSc final-year project
Intelli-Factory
A multi-objective optimization platform for supply-chain matching
A B2B2C platform that matches customer requests with manufacturer-logistics pairs across the “supply-chain trilemma”: cost, delivery time, and reliability. Four user roles, a nine-state request lifecycle enforced by explicit state machines, three-party contract signing, and an admin UI for comparing optimization strategies live.
Optimization engine
NSGA-II-style genetic algorithm built on DEAP (population 100, 80 generations) plus a fast weighted strategy and a greedy baseline, producing Pareto-optimal sets with knee-point selection.
Production platform
FastAPI + PostgreSQL (~25 Prisma models) behind a Next.js 14 App Router frontend; deployed as a three-tier system on Vercel, Render, and Aiven with Docker Compose for local dev.
Security & testing
OWASP-aligned: Argon2id hashing, CSPRNG server-side sessions, rate-limited login. 51 automated pytest unit and integration tests, TDD on the engine.
Pareto front, Deep GA
- Non-dominated solution
- Knee point (selected)
- Greedy baseline
| Solution | Delivery time (days) | Cost (thousand KZT) |
|---|---|---|
| Solution 1 | 3.2 | 60.2 |
| Solution 2 | 3.7 | 57.4 |
| Solution 3 | 4.1 | 54.6 |
| Solution 4, knee point, selected | 4.67 | 51.6 |
| Solution 5 | 5.4 | 45.8 |
| Solution 6 | 6.1 | 39.9 |
| Solution 7 | 7 | 33.2 |
| Solution 8 | 7.8 | 26.4 |
| Solution 9 | 8.4 | 22.9 |
| Greedy baseline | 8.02 | 21.3 |
Verified benchmark
- +17.5%
- composite fitness vs greedy baseline
- 41.8%
- faster delivery (8.02 → 4.67 days)
- +8.1%
- reliability score (0.824 → 0.891)
- 0.069 s
- avg Deep GA response time
- 100%
- feasibility across 120 scenarios
- 3,600
- benchmark evaluations (120 × 30 seeds)
Verified benchmark: 120 synthetic scenarios × 30 random seeds, run on the production engine code.
Production architecture
Frontend
Next.js 14 · TypeScript · Tailwind
Vercel
API
FastAPI · Python 3.12 · DEAP
Render
Database
PostgreSQL · Prisma
Aiven
Docker Compose for local development, 51 automated pytest tests, Ruff and ESLint, Brevo SMTP email verification, and a state-machine-enforced request lifecycle.
Deployed and running right now. The free-tier API cold-starts in roughly 50 seconds on the first request.
Standard of evidence
Not promises. Measurements.
Every metric on this page comes from a 3,600-run benchmark on production code, and it is reproducible with a single command.
benchmark_evaluation.pyRerun it yourself.