Click or drag to resize

Problem Methods

The Problem type exposes the following members.

Methods
  NameDescription
Public methodAddJob
Adds a Job to the problem.
Public methodAddResource
Adds a Resource to the problem.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetJob
Gets a Job using a Job ID.
Public methodGetJobPart
Gets a JobPart using a JobPart ID.
Public methodGetResource
Gets a Resource using a Resource ID.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberLoad
Load a problem from a file.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave(String)
Save the Problem to a file.
Public methodSave(String, Boolean)
Save the Problem to a file.
Public methodSaveAsByteArray
Save the Problem to a byte array. The Problem is converted to a JSON format and then the JSON format is converted to a byte array.
Public methodSaveAsByteArray(Boolean)
Save the Problem to a byte array. The Problem is converted to a JSON format and then the JSON format is converted to a byte array.
Public methodSetAllowAssign(String, String)
Allows the Job to be assigned to the selected Resource if it was previously not allowed by calling SetNotAssign.
Public methodSetAllowAssign(Job, Resource)
Allows the Job to be assigned to the selected Resource if it was previously not allowed by calling SetNotAssign.
Public methodSetFixAssign(String, String)
Fix a job assignment to the selected resource i.e. the solver will ensure this assignment is made and the job is not assigned to a different resource.
Public methodSetFixAssign(Job, Resource)
Fix a Job assignment to the selected Resource i.e. the solver will ensure this assignment is made and the Job is not assigned to a different resource.
Public methodSetNotAssign(String, String)
Ensures the solver will not assign the job to the selected resource.
Public methodSetNotAssign(Job, Resource)
Ensures the solver will not assign the Job to the selected resource.
Public methodSetTravelTimes
Sets the TravelTime matrix.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

www.routingautomation.com | support