Skip to main content
FRAMES NO FRAMES

Class IloOplCompiler

Definition file: ilopl/ilooplmodeldefinition.h
Map of IloOplCompilerIloOplCompilerIloOplCompiler
The OPL model source compiler.

This class creates a persistent binary representation of a model source. Refer also to the Interfaces User's Manual.

See Also:

Method Summary
public voidcompile(IloOplModelSource source, std::ostream & outs)
public voidend()
public IloOplCompiler(IloEnv env)
Method Detail

IloOplCompiler

public IloOplCompiler(IloEnv env)

This constructor creates a compiler object.

Parameters:

env
The environment to allocate memory.

compile

public void compile(IloOplModelSource source, std::ostream & outs)

This member function compiles a model source.

Parameters:

source
The model source to be compiled.
outs
The output stream to which the compiled model is written. It has to be in binary mode.

end

public void end()

Clears the memory used by this object