Enhanced conference experience calculation algorithm
- Day: 2023-09-06
- Time: 18:10 to 19:35
- Project: Dev
- Workspace: WP 2: Operational
- Status: In Progress
- Priority: MEDIUM
- Assignee: Matías Nehuen Iglesias
- Tags: Python, Algorithm, Optimization, Conferences, Rest Days
Description
Session Goal
The session focused on enhancing the algorithm to calculate maximum experience from attending conferences and attractions, incorporating constraints such as mandatory rest days after a certain number of consecutive conferences.
Key Activities
- Defined the recursive function
g(n, r)in LaTeX to model the experience calculation. - Discussed the application of dynamic programming and greedy algorithms for optimizing experience in AlgorithmLand.
- Explained the
maxExperienceFromConferencesfunction, detailing its structure and purpose. - Adapted pseudocode to handle rest days after consecutive conferences.
- Modified the Python function
gto include logic for rest days, ensuring no activities are scheduled on rest days. - Implemented the
maxExperienceFromConferencesfunction in Python, considering constraints on consecutive attendance.
Achievements
- Successfully integrated rest day logic into the experience calculation algorithm.
- Enhanced the function to maximize experience while adhering to constraints.
Pending Tasks
- Further testing and validation of the modified algorithm to ensure it meets all constraints and performs efficiently under various scenarios.
Evidence
- source_file=2023-09-06.sessions.jsonl, line_number=0, event_count=0, session_id=61d1cbad1981ccbdc5a800363b0b7f7145fea4ca3ef5f61ac8f54c7839ffff81
- event_ids: []