LibreOffice
LibreOffice 25.2 SDK API Reference
 
Loading...
Searching...
No Matches
SolverSettings Service Reference

A solver model defined in a sheet and accessible via the solver dialog. More...

import "SolverSettings.idl";

Inheritance diagram for SolverSettings:
XSolverSettings XInterface

Additional Inherited Members

- Public Types inherited from XSolverSettings
typedef sequence< string > AvailableEngines
 Returns a sequence of strings containing all available solver implementation names.
 
typedef sequence< any > VariableCells
 Variable cells in the model, represented as a sequence of cell ranges.
 
typedef sequence< ModelConstraintConstraints
 Constraints of the solver model.
 
typedef sequence< com::sun::star::beans::PropertyValueEngineOptions
 Solver engine options expressed as a sequence of property values.
 
- Public Member Functions inherited from XSolverSettings
void reset ()
 Resets the solver model to its defaults settings.
 
void solve ()
 Run the solver model Check the values of the Status and ErrorMessage attributes to know what happened after calling this method.
 
void saveToFile ()
 Save the solver model to the file.
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
 
void acquire ()
 increases the reference counter by one.
 
void release ()
 decreases the reference counter by one.
 
- Public Attributes inherited from XSolverSettings
byte ObjectiveType
 Determines the model objective function type Possible values defined in css::sheet::SolverObjectiveType.
 
any ObjectiveCell
 Cell pointing to the objective function of the model.
 
any GoalValue
 Value or cell address used in the "Value of" field.
 
string Engine
 Set the solver engine using its implementation name.
 
long ConstraintCount
 Returns the number of constraints in the solver model.
 
byte Status
 Last reported solver status.
 
string ErrorMessage
 Stores the last error message reported after calling the "solve()" method.
 
boolean SuppressDialog
 Set this attribute to True to suppress dialogs shown the method "solve()".
 

Detailed Description

A solver model defined in a sheet and accessible via the solver dialog.

Since
LibreOffice 25.2

The documentation for this service was generated from the following file: