Jump to content

Recommended Posts

Guest lamefif
Posted

Hi

The problem im having is

I have a school which is made up of Instructors & Pupils,

A Pupil can only be in one lesson at any given time.

Im not sure how do I express this in Z?

 

Do I inteduce variables say Max_Lesons_At_Given_Date_Time, and Lessons_At_GivenDate_Time_Per_Pupil.

And say something like:

Max_Lesons_At_Given_Date_Time = 1

#Lessons_At_GivenDate_Time_Per_Pupil ≤ Max_Lesons_At_Given_Date_Time

 

Or do I just use one and say:

# Lessons_At_GivenDate_Time_Per_Pupil ≤ 1

 

Any ideas thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.