31 static bool init =
false;
34 logger <<
"Warning: Calling frepple::LibraryModel::initialize() more "
35 <<
"than once." << endl;
138 PythonInterpreter::registerGlobalMethod(
140 "Print information about the memory consumption.");
141 PythonInterpreter::registerGlobalMethod(
143 "Removes the plan data from memory, and optionally the static info too.");
144 PythonInterpreter::registerGlobalMethod(
146 "Processes an XML string passed as argument.");
147 PythonInterpreter::registerGlobalMethod(
149 "Read an XML-file.");
150 PythonInterpreter::registerGlobalMethod(
152 "Save the model to an XML-file.");
153 PythonInterpreter::registerGlobalMethod(
155 "Save the main plan information to a file.");
156 PythonInterpreter::registerGlobalMethod(
158 "Returns an iterator over the buffers.");
159 PythonInterpreter::registerGlobalMethod(
161 "Returns an iterator over the locations.");
162 PythonInterpreter::registerGlobalMethod(
164 "Returns an iterator over the customer.");
165 PythonInterpreter::registerGlobalMethod(
167 "Returns an iterator over the items.");
168 PythonInterpreter::registerGlobalMethod(
170 "Returns an iterator over the calendars.");
171 PythonInterpreter::registerGlobalMethod(
173 "Returns an iterator over the demands.");
174 PythonInterpreter::registerGlobalMethod(
176 "Returns an iterator over the resources.");
177 PythonInterpreter::registerGlobalMethod(
179 "Returns an iterator over the operations.");
180 PythonInterpreter::registerGlobalMethod(
182 "Returns an iterator over the operationplans.");
183 PythonInterpreter::registerGlobalMethod(
185 "Returns an iterator over the problems.");
186 PythonInterpreter::registerGlobalMethod(
188 "Returns an iterator over the setup matrices.");
189 PythonInterpreter::registerGlobalMethod(
191 "Returns an iterator over the solvers.");
192 PythonInterpreter::registerGlobalMethod(
194 "Returns an iterator over the skills.");