cid#1640468 Dereference after null check
[LibreOffice.git] / offapi / com / sun / star / sheet / SensitivityReport.idl
blob7c074b64f583c4e3358e092dfd294bd725e197cb
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 */
12 module com { module sun { module star { module sheet {
15 /** Stores all the information related to the sensitivity report of a linear programming model
17 * @since LibreOffice 25.2
19 struct SensitivityReport
21 // Indicates whether a sensitivity report was successfully generated
22 boolean HasReport;
24 // Coefficients of the objective function
25 sequence<double> ObjCoefficients;
27 // Reduced costs of the variables in the objective function
28 sequence<double> ObjReducedCosts;
30 // Allowable decrease in the coefficients of the objective function
31 sequence<double> ObjAllowableDecreases;
33 // Allowable increase in the coefficients of the objective function
34 sequence<double> ObjAllowableIncreases;
36 // Value of the constraint at the solution
37 sequence<double> ConstrValues;
39 // Right-hand side of the constraints
40 sequence<double> ConstrRHS;
42 // Shadow prices of constraints
43 sequence<double> ConstrShadowPrices;
45 // Allowable decrease in the constraint resources
46 sequence<double> ConstrAllowableDecreases;
48 // Allowable increase in the constraint resources
49 sequence<double> ConstrAllowableIncreases;
53 }; }; }; };
55 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */