:: com :: sun :: star :: sheet ::
|
unpublished |
interface XSolver |
|
|
|
- Usage Restrictions
- not published
- Description
- allows to call a solver for a model that is defined by spreadsheet cells.
|
Methods' Summary |
solve |
executes the calculation and tries to find a solution. |
Attributes' Summary |
Document |
The spreadsheet document that contains the cells. |
Objective |
The address of the cell that contains the objective value. |
Variables |
The addresses of the cells that contain the variables. |
Constraints |
The constraints of the model. |
Maximize |
selects if the objective value is maximized or minimized. |
Success |
contains true if a solution was found. |
ResultValue |
contains the objective value for the solution, if a solution was found. |
Solution |
contains the solution's value for each of the variables,
if a solution was found.
|
Methods' Details |
solve
- Description
- executes the calculation and tries to find a solution.
|
|
Attributes' Details |
Document
|
Objective
::com::sun::star::table::CellAddress Objective;
- Description
- The address of the cell that contains the objective value.
|
|
Variables
sequence< ::com::sun::star::table::CellAddress > Variables;
- Description
- The addresses of the cells that contain the variables.
|
|
Constraints
sequence< SolverConstraint > Constraints;
- Description
- The constraints of the model.
|
|
Maximize
boolean Maximize;
- Description
- selects if the objective value is maximized or minimized.
|
|
Success
[ readonly ] boolean Success;
- Description
- contains true if a solution was found.
|
|
ResultValue
[ readonly ] double ResultValue;
- Description
- contains the objective value for the solution, if a solution was found.
|
|
Solution
[ readonly ] sequence< double > Solution;
- Description
- contains the solution's value for each of the variables,
if a solution was found.
|
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.