Skip to content

elev8tion/opti

Repository files navigation

OPTI - Smart Workforce Scheduling App

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.

🚀 Key Features

Core Scheduling

  • 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

AI-Powered Assistant

  • 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

Employee Features

  • 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

Analytics & Reporting

  • 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

🎨 Design Philosophy

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

🛠️ Technology Stack

  • 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

📱 Getting Started

Prerequisites

  • Flutter SDK (>=3.0.0)
  • Dart SDK
  • iOS/Android development environment

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/opti.git
cd opti
  1. Install dependencies:
flutter pub get
  1. Set up environment variables: Create a .env file in the root directory:
OPENAI_API_KEY=your_openai_api_key
SUPABASE_URL=your_supabase_url
SUPABASE_ANON_KEY=your_supabase_anon_key
  1. Run the app:
flutter run

🧬 Genetic Algorithm Engine

OPTI's scheduling engine uses a genetic algorithm that:

  1. Initializes a population of random schedules
  2. Evaluates fitness based on multiple objectives:
    • Coverage (30%)
    • Fairness (25%)
    • Cost efficiency (20%)
    • Employee preference match (25%)
  3. Evolves schedules through crossover and mutation
  4. Converges on optimal solutions over 50 generations

📊 Performance Metrics

  • Schedule generation: < 2 seconds for 100 employees
  • Conflict detection: Real-time
  • UI responsiveness: 60 FPS
  • Memory usage: Optimized for mobile devices

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • Flutter team for the amazing framework
  • OpenAI for GPT integration capabilities
  • The open-source community for inspiration

Built with ❤️ for smarter workforce management

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors