The OplFactory type exposes the following members.

Methods

  Name Description
Protected method addToKeepRefs
Public method CreateCP
Creates a new ILOG CP Optimizer instance.
Public method CreateCplex
Creates a new ILOG CPLEX instance.
Public method CreateOplCompiler
Public method CreateOplConflictIterator
Public method CreateOplCplexBasis
Constructor.
Public method CreateOplCplexVectors
Constructor.
Public method CreateOplDataElements
Constructs empty collections of data elements.
Public method CreateOplDataSerializer(TextWriter) Obsolete.
Shortcut constructor for a serializing data handler.
Public method CreateOplDataSerializer(OplSettings, TextWriter)
Public method CreateOplDataSource
Public method CreateOplDataSourceFromStream
Public method CreateOplDataSourceFromString
Public method CreateOplErrorHandler()()()()
Creates an error handler that display messages on the standard output.
Public method CreateOplErrorHandler(TextWriter)
This constructor creates a default error handler, reporting to a stream.
Public method CreateOplModel(OplModelDefinition, CP)
Public method CreateOplModel(OplModelDefinition, Cplex)
Public method CreateOplModelDefinition(OplModelSource, OplErrorHandler) Obsolete.
Public method CreateOplModelDefinition(OplModelSource, OplSettings)
Public method CreateOplModelSource(String)
Public method CreateOplModelSource(String, Boolean) Obsolete.
Public method CreateOplModelSourceFromStream
Public method CreateOplModelSourceFromString(String, String)
Public method CreateOplModelSourceFromString(String, String, Boolean) Obsolete.
Public method CreateOplProfiler
This is the constructor for the default profiler.
Public method CreateOplProject
Creates a project for the OPL IDE.
Public method CreateOplRelaxationIterator
Public method CreateOplRunConfiguration(String)
Public method CreateOplRunConfiguration(OplModelDefinition)
Public method CreateOplRunConfiguration(String, String)
Public method CreateOplRunConfiguration(String, array<String>[]()[][])
Public method CreateOplRunConfiguration(OplModelDefinition, OplDataElements)
Public method CreateOplSettings
Public method End
Deletes the OPL environment, clearing all the memory used by the objects created through this factory.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method getEnv
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method Static member GetOplFactoryFrom
Protected method Static member getOplFactoryFromEnv
Public method GetType
Gets the type of the current instance.
(Inherited from Object.)
Public method IloOplDataSerializer
Protected method makeInputStream(Stream)
Protected method makeInputStream(String)
Public method MapIndexArray
Returns an array to manipulate indices to access instances of IloTupleMap.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Static member RegisterLicense

Entry point for runtime licenses.

Note
This function has no effect, but it is provided for compatibility with older versions. The use of this function is deprecated.
Public method Static member ReleaseLicense
Forces OPL to release the license it is currently holding.
Protected method removeFromKeepRefs
Public method SetError
Redirects all error messages to the given stream
Public method SetOut
Redirects all output messages to the given stream
Public method SetWarning
Redirects all warning messages to the given stream
Public method ToString (Overrides Object..::..ToString()()()().)

See Also