OPTI is an intelligent workforce scheduling application powered by genetic algorithms and AI. It optimizes shift planning for small to medium-sized businesses while ensuring fairness, cost efficiency, and employee satisfaction.
- Genetic Algorithm Optimization: Uses evolutionary algorithms to find optimal schedules
- Multi-objective Optimization: Balances coverage, cost, fairness, and employee preferences
- Real-time Updates: Drag-and-drop interface with instant synchronization
- Constraint Satisfaction: Respects labor laws, overtime limits, and rest requirements
- Natural Language Processing: "Generate next week's schedule with minimal overtime"
- Explainable AI: Understand why specific scheduling decisions were made
- Intelligent Conflict Resolution: Automatically suggests fixes for scheduling issues
- Voice Commands: Hands-free schedule adjustments
- Shift Swapping: Request and approve shift trades
- Availability Management: Set preferences and blackout dates
- GPS Clock-in/out: Location-based attendance verification
- In-app Chat: Team communication and notifications
- Real-time Dashboards: Coverage, costs, and satisfaction metrics
- Predictive Analytics: Forecast staffing needs based on historical data
- Export to Payroll: Seamless integration with payroll systems
- Compliance Tracking: Ensure adherence to labor regulations
OPTI features a minimalist, youthful design with:
- Clean, thin-line aesthetic
- Business-appropriate color palette
- Mobile-first responsive design
- Intuitive flat design with strong geometry
- Frontend: Flutter (iOS, Android, Web)
- State Management: Provider pattern
- Backend: Supabase
- AI Integration: OpenAI GPT-4
- Genetic Algorithm: Custom Dart implementation
- Notifications: Flutter Local Notifications
- Location Services: Geolocator
- Flutter SDK (>=3.0.0)
- Dart SDK
- iOS/Android development environment
- Clone the repository:
git clone https://github.com/yourusername/opti.git
cd opti- Install dependencies:
flutter pub get- Set up environment variables:
Create a
.envfile in the root directory:
OPENAI_API_KEY=your_openai_api_key
SUPABASE_URL=your_supabase_url
SUPABASE_ANON_KEY=your_supabase_anon_key- Run the app:
flutter runOPTI's scheduling engine uses a genetic algorithm that:
- Initializes a population of random schedules
- Evaluates fitness based on multiple objectives:
- Coverage (30%)
- Fairness (25%)
- Cost efficiency (20%)
- Employee preference match (25%)
- Evolves schedules through crossover and mutation
- Converges on optimal solutions over 50 generations
- Schedule generation: < 2 seconds for 100 employees
- Conflict detection: Real-time
- UI responsiveness: 60 FPS
- Memory usage: Optimized for mobile devices
We welcome contributions! Please see our Contributing Guidelines for details.
This project is licensed under the MIT License - see the LICENSE file for details.
- Flutter team for the amazing framework
- OpenAI for GPT integration capabilities
- The open-source community for inspiration
Built with ❤️ for smarter workforce management