Solving a Scheduling Problem with Diophantine Equations

  • Context: Graduate 
  • Thread starter Thread starter lavoisier
  • Start date Start date
  • Tags Tags
    Scheduling
Click For Summary

Discussion Overview

The discussion revolves around a scheduling problem involving biological assays and seeks to explore systematic approaches to determine weeks without assays and the overlap of assay schedules. It touches on mathematical concepts, particularly Diophantine equations and the Chinese remainder theorem, in the context of scheduling theory.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant describes a scheduling scenario for biological assays, noting the patterns of occurrence for each assay and expressing a desire to derive a systematic method for identifying weeks without assays and overlaps between assays.
  • Another participant suggests that while a general approach could be useful, the complexity of the problem means that one must consider the least common multiple of the assay periods to find intersections and gaps in the schedule.
  • A third participant references the Chinese remainder theorem as a complete solution to the problem, indicating a mathematical framework that may apply.
  • A later reply acknowledges the complexity of the mathematics involved in the referenced article but expresses interest in using algebraic solutions through sequential substitution.

Areas of Agreement / Disagreement

Participants do not reach a consensus on a single method for solving the scheduling problem. Multiple approaches are suggested, and the discussion reflects varying levels of mathematical understanding and comfort with the concepts presented.

Contextual Notes

The discussion highlights the need for clarity on the assumptions underlying the scheduling problem, such as the definitions of the assay schedules and the mathematical methods referenced. There is also an indication that the complexity of the mathematics may limit accessibility for some participants.

Who May Find This Useful

This discussion may be useful for individuals interested in mathematical scheduling problems, particularly those involving periodic events and the application of number theory concepts like Diophantine equations and the Chinese remainder theorem.

lavoisier
Messages
177
Reaction score
24
Hi everyone,
a problem that seems mathematical in nature came to my mind at work a few days ago, and I wonder if anyone can help me with it.

Basically, we are given a schedule of when certain biological assays take place, e.g. assay A will take place each even week of the year starting on week 2, and assay B will take place every 4 weeks starting on week 1.
It's relatively easy to write out the explicit cases:
A={2,4,6...}
B={1,5,9,13,17...}
What I wanted to know was on which weeks there were no assays. Again, easy enough to write it out:
no_assays={3,7,11,...}.
And whether A and B could happen on the same week. Clearly not, as A only happens on even weeks, whereas B only happens on odd weeks.

But I wanted to make this more systematic. I started by noting that A corresponded to a 2*n pattern, with n positive integer, and B to 2*m+1, with m positive integer or zero.
Then I wondered how I could derive the pattern for no_assays (of course 4*k-1, with k positive integer) just from the patterns for A and B, without writing out the explicit cases.
Maybe not in a simple case like this one, but in a more complicated one. E.g. if there were 3 assays A, B and C, with A on weeks 3*n+1, B on weeks 4*m, C on weeks 5*p, with n, m and p positive integers, how could I determine if+when+which assays happen on the same week, and if+when there are weeks with no assays?

Is there an 'official' approach one may use for this kind of problem? Maybe something related to Diophantine equations?

Thank you!
L
 
Mathematics news on Phys.org
If there would be an easy general approach you could use it to find prime numbers - and there is no easy way to find arbitrary prime numbers.

It is sufficient to consider all weeks up to the least common multiple of all periods, e.g. 4 in the first example and 60 in the second one. Although 60 weeks are more than a year, so basically you are testing each week anyway.
Sometimes it can be sufficient to check the intersection of (AB), (BC) and (AC), which gives 12, 15 and 20 weeks to check, so you save a bit compared to 52 checks. An additional trick: within those given lengths, the pairs will have a common exam week exactly once, and there are ways to calculate this week quickly.
 
Thank you both very much!
Much of the maths in the wikipedia article is above my level, but I think the algebraic solution by sequential substitution is something I could manage to use.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K