LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
Solver Service Reference

A solver for a model that is defined by spreadsheet cells. More...

import "Solver.idl";

Inheritance diagram for Solver:
XSolver XInterface

Additional Inherited Members

Public Types inherited from XSolver
typedef sequence< com::sun::star::table::CellAddressVariables
 The addresses of the cells that contain the variables.
typedef sequence< SolverConstraintConstraints
 The constraints of the model.
typedef sequence< double > Solution
 contains the solution's value for each of the variables, if a solution was found.
Public Member Functions inherited from XSolver
void solve ()
 executes the calculation and tries to find a solution.
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 XSolver
XSpreadsheetDocument Document
 The spreadsheet document that contains the cells.
com::sun::star::table::CellAddress Objective
 The address of the cell that contains the objective value.
boolean Maximize
 selects if the objective value is maximized or minimized.
boolean Success
 contains TRUE if a solution was found.
double ResultValue
 contains the objective value for the solution, if a solution was found.

Detailed Description

A solver for a model that is defined by spreadsheet cells.


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