A web application that uses the Fractional Knapsack Algorithm to optimize tourist destination selection based on budget or time constraints.
https://tour-optima.vercel.app/
cd backend
pip install -r requirements.txt
uvicorn main:app --reload --port 8000cd frontend
npm install
npm run dev- Add tourist destinations with their value (satisfaction score) and cost (money/time)
- Choose optimization mode (Budget or Time constraint)
- Set your limit
- Click "Optimize Destinations" to see the optimal selection
- View results in charts and summary cards
The algorithm maximizes value while staying within your constraints, using fractional selection when needed.