// w is a parameter and y is a variable public IConstraints5UConstraintElement Create( IjIndexElement jIndexElement, IrIndexElement rIndexElement, IsIndexElement sIndexElement, Interfaces.Parameters.SurgicalSpecialtyNumberAssignedTimeBlocks.IB BBar, Interfaces.Parameters.SurgeonNumberAssignedTimeBlocks.IB Bs, Interfaces.Parameters.SurgicalSpecialtyOperatingRoomAssignments.Iw w, Interfaces.Variables.Iy y) { IConstraints5UConstraintElement constraintElement = null; try { constraintElement = new Constraints5UConstraintElement( jIndexElement, rIndexElement, sIndexElement, BBar, Bs, w, y); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(constraintElement); }
public IConstraints5UConstraintElement Create( IdIndexElement dIndexElement, IrIndexElement rIndexElement, IsIndexElement sIndexElement, ItIndexElement tIndexElement, It t, IW W, Iδ2 δ2, Iδ4 δ4, Ix x) { IConstraints5UConstraintElement constraintElement = null; try { constraintElement = new Constraints5UConstraintElement( dIndexElement, rIndexElement, sIndexElement, tIndexElement, t, W, δ2, δ4, x); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(constraintElement); }