예제 #1
0
 // The following methods are specific to the local (non-Gurobi)
 // optimizer and should probably be made into extension
 // methods of the Session or Sessions objects in that library
 /// <summary>
 /// Add a dependent session to the list of dependencies for this session
 /// </summary>
 /// <param name="session2"></param>
 public void AddDependency(Session session2)
 {
     _dependentSessions.Add(session2);
 }
예제 #2
0
 private void Assign(Assignment assignment, Session session)
 {
     assignment.SessionId = session.Id;
     _sessionMatrix.UpdateConstraints(assignment, session);
 }