Method, apparatus, and computer program product for solving equation system models using spreadsheet software
First Claim
1. A method for computing a numerical solution to an equation system using a spreadsheet software application, the method comprising:
- A) displaying and operating a tabular datasheet by executing the spreadsheet software application on a computer device, the tabular datasheet having a plurality of cells each being designated with a column identifier and a row identifier, the cells being configured to receive input and display output;
B) receiving, from a first group of the cells, one or more formula expressions representing the equation system and, from a second group of the cells, one or more variables of the formula expressions;
C) receiving, from a third group of the cells, a solver function of the spreadsheet software application having one or more first input arguments, the first input arguments at least referencing the formula expressions in the first group of the cells, the variables in the second group of the cells and, any parameters of the equation system;
D) computing the solver function to obtain the solution and displaying the solution in the third group of the cells;
wherein computing the solver function comprises;
D1) constructing, for each of the formula expressions, an evaluable tree-structured graph of relational nodes containing an equivalent sequence of evaluable sub-expressions of said formula expressions;
D2) evaluating, by a graph evaluator, the relational nodes in an order of their interdependence to obtain values of the relational nodes based on supplied values of the variables of the formula expressions, and aggregating the values of the relational nodes to obtain the values of the formula expressions in accordance with the supplied values of the variables of the formula expressions;
D3) using an underlining algorithm of the solver function to compute the solution in accordance with the formula expressions in the first group of the cells, the variables in the second group of the cells and, the parameters;
wherein the underlining algorithm of the solver function utilizes the graph evaluator to evaluate the formula expressions for values of the variables thereby computing the solution.
0 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure provides a method, an apparatus, and a computer program product to interact with a spreadsheet application for computing the value of a formula that depends explicitly or implicitly on one or more cells designated as variables, based on provided values for the variables, and without modifying any data of the spreadsheet application. In one aspect, the present disclosure provides a method for computing numerical solution of an equation system modelled by one or more variables, parameters, and dependent formulas in a spreadsheet application, using a spreadsheet function of the spreadsheet application.
32 Citations
22 Claims
-
1. A method for computing a numerical solution to an equation system using a spreadsheet software application, the method comprising:
-
A) displaying and operating a tabular datasheet by executing the spreadsheet software application on a computer device, the tabular datasheet having a plurality of cells each being designated with a column identifier and a row identifier, the cells being configured to receive input and display output; B) receiving, from a first group of the cells, one or more formula expressions representing the equation system and, from a second group of the cells, one or more variables of the formula expressions; C) receiving, from a third group of the cells, a solver function of the spreadsheet software application having one or more first input arguments, the first input arguments at least referencing the formula expressions in the first group of the cells, the variables in the second group of the cells and, any parameters of the equation system; D) computing the solver function to obtain the solution and displaying the solution in the third group of the cells;
wherein computing the solver function comprises;D1) constructing, for each of the formula expressions, an evaluable tree-structured graph of relational nodes containing an equivalent sequence of evaluable sub-expressions of said formula expressions; D2) evaluating, by a graph evaluator, the relational nodes in an order of their interdependence to obtain values of the relational nodes based on supplied values of the variables of the formula expressions, and aggregating the values of the relational nodes to obtain the values of the formula expressions in accordance with the supplied values of the variables of the formula expressions; D3) using an underlining algorithm of the solver function to compute the solution in accordance with the formula expressions in the first group of the cells, the variables in the second group of the cells and, the parameters;
wherein the underlining algorithm of the solver function utilizes the graph evaluator to evaluate the formula expressions for values of the variables thereby computing the solution. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A non-transitory computer-readable storage medium storing instructions for a computer program product in combination with a spreadsheet software program for computing a numerical solution to an equation system, wherein execution of the instructions by a computer device, causes the computer device to perform a method comprising:
-
A) displaying and operating a tabular datasheet, the tabular datasheet having a plurality of cells each being designated with a column identifier and a row identifier, the cells being configured to receive input and display output; B) receiving, from a first group of the cells, one or more formula expressions representing the equation system and, from a second group of the cells, one or more variables of said formula expressions; C) receiving, from a third group of the cells, a solver function of the spreadsheet software application having one or more first input arguments, the first input arguments at least referencing the formula expressions in the first group of the cells, the variables in the second group of the cells and, any parameters of the equation system; D) computing the solver function to obtain the solution and displaying the solution in the third group of the cells;
wherein computing the solver function comprisesD1) constructing, for each of the formula expressions, an evaluable tree-structured graph of relational nodes containing an equivalent sequence of evaluable sub-expressions of said formula expressions; D2) evaluating, by a graph evaluator, the relational nodes in an order of their interdependence to obtain values of the relational nodes based on supplied values of the variables of the formula expressions, and aggregating the values of the relational nodes to obtain the values of the formula expressions in accordance with the supplied values of the variables of the formula expressions; D3) using an underlining algorithm of the solver function to compute the solution in accordance with the formula expressions in the first group of the cells, the variables in the second group of the cells and, the parameters;
wherein the underlining algorithm of the solver function utilizes the graph evaluator to evaluate the formula expressions for values of the variables thereby computing the solution.
-
-
22. A computer apparatus for computing a numerical solution to an equation system using a spreadsheet software program, the computer apparatus comprising a display monitor and, a hardware processor configured to perform a method comprising:
-
A) displaying and operating a tabular datasheet by executing the spreadsheet software program on the computer apparatus, the tabular datasheet having a plurality of cells each being designated with a column identifier and a row identifier, the cells being configured to receive input and display output; B) receiving, from a first group of the cells, one or more formula expressions representing the equation system and, from a second group of the cells, one or more variables of said formula expressions; C) receiving, from a third group of the cells, a solver function of the spreadsheet software application having one or more first input arguments, the first input arguments at least referencing the formula expressions in the first group of the cells, the variables in the second group of the cells and, any parameters of the equation system; D) computing the solver function to obtain the solution and displaying the solution in the third group of the cells;
wherein computing the solver function comprisesD1) constructing, for each of the formula expressions, an evaluable tree-structured graph of relational nodes containing an equivalent sequence of evaluable sub-expressions of said formula expressions; D2) evaluating, by a graph evaluator, the relational nodes in an order of their interdependence to obtain values of the relational nodes based on supplied values of the variables of the formula expressions, and aggregating the values of the relational nodes to obtain the values of the formula expressions in accordance with the supplied values of the variables of the formula expressions; D3) using an underlining algorithm of the solver function to compute the solution in accordance with the formula expressions in the first group of the cells, the variables in the second group of the cells and, the parameters;
wherein the underlining algorithm of the solver function utilizes the graph evaluator to evaluate the formula expressions for values of the variables thereby computing the solution.
-
Specification