Use WPS Spreadsheets Solver to Maximize Profit with Uncertain Inputs
Question details
The user wants to configure Solver to maximize profit from seven input variables and understand why normally distributed inputs require simulation or repeated optimization instead of a single deterministic solve.

- Product
- WPS Spreadsheets
- Device & OS
- not provided
- Scenario
- The user has a profit model with seven input variables that are normally distributed and wants to find optimal inputs while evaluating expected profit and risk.
- Observed behavior
- Standard Solver treats changing cells as deterministic values, so a single optimization returns one optimum and does not account for normal distribution uncertainty; simulation or repeated optimization is needed.
Place each input variable, its mean, and standard deviation in separate columns, and create a profit formula based on those input cells. Make sure Solver is available on the Data tab; if it is not visible, enable it through the add-in manager before starting.
Build the Profit Model and Run Solver Once with Mean Values
Use this when you want a single optimal input set under fixed mean values before adding uncertainty.
In a WPS Spreadsheets workbook, put the seven input variable names in column A, their mean values in column B, and their standard deviations in column C.
In a target cell, enter the profit formula that references the seven variable cells, such as =B2*Coefficient1 + B3*Coefficient2 + ... + B8*Coefficient7, or use your specific profit equation.
Go to Data > Solver, set the objective to the profit cell, choose Max, and set the variable cells to the seven input cells.
Add upper and lower constraints for each input cell, select a solving method, and click Solve to obtain the deterministic optimal input values.
Evaluate Normally Distributed Inputs with Random Scenarios and Repeated Solver Runs
Use this to estimate expected profit and risk because normally distributed inputs require simulating many random values, not a single deterministic solve.
Use WPS Spreadsheets Solver to Maximize Profit with Uncertain Inputs
Set up a profit model in WPS Spreadsheets, run Solver for a deterministic optimum, then use random normal inputs and repeated optimization to evaluate expected profit and risk. WPS handles the same workbook structure and formulas as Excel.
- 1. Prepare the input and profit model: Open WPS Spreadsheets, list the seven input variables, means, and standard deviations in columns, and create a profit formula that references the variable cells.
- 2. Open Solver from the Data tab: Go to Data > Solver, set the profit cell as the objective, choose Max, and select the seven changing cells.
- 3. Add constraints and solve: Add lower and upper bound constraints for each input cell, select the appropriate solving method, and click Solve to find the deterministic optimal input set.
- 4. Model normal uncertainty: Create a scenario block using =NORM.INV(RAND(), mean, standard_dev) for each input and recalculate or re-run Solver repeatedly to collect possible profit results.
- 5. Summarize expected profit and risk: Calculate the average, standard deviation, and key percentiles of the collected profit values to decide the best input strategy under uncertainty.

Frequently Asked Questions
Does WPS Spreadsheets have a Solver tool?
Yes. In WPS Spreadsheets, go to the Data tab and click Solver. If it is not visible, enable it through File > Options > Add-ins or the add-in manager, then reopen the Data tab.
Why does Solver treat normally distributed inputs as deterministic?
Solver optimizes the changing cells as fixed values. It does not automatically sample probability distributions, so a single solve uses only the current cell values. To include normal uncertainty, you must generate random values or run repeated optimizations.
How do I generate normally distributed random inputs in WPS Spreadsheets?
Use =NORM.INV(RAND(), mean, standard_dev) in separate cells. Each worksheet recalculation produces a new random set, and you can use a data table or repeat the formula to collect many outcomes.
Can I open an Excel workbook with a Solver model in WPS Office?
Yes. WPS Spreadsheets opens Excel .xlsx workbooks and preserves formulas, data tables, and most Solver model structures, but you may need to re-select the Solver objective and constraints after opening if the add-in was not active.





