Question
write a python code that uses CSP to slove the following problem: a barber get his shopopen only on monday from 8 am to 8
write a python code that uses CSP to slove the following problem: a barber get his shopopen only on monday from 8 am to 8 pm and he has 10 clients: client 1 : needs 1 hour client 2: needs 45 minutes client 3: needs 2 hours client 4: needs 30 minutes client 5 : needs 1 hour and 15 minutes client 6: needs 10 minutes client 7 : needs 1 hours client 8: needs 30 minutes client 9: needs 15 minutes client 10: needs 30 minutes keep in mind that he had two 15 minute breaks the first one is from 1:00-1:15 pm and the second one is from 4:30-4:45 pm . he needs to schedule his clients in such ways that don't interfere with the break time or his opening and closing hours.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started