How the WPS table implements the Solver calculation

Source: Internet
Author: User

WPS Table implements the method of Solver calculation:

Create a new WPS form file and enter relevant information about product A and b according to the conditions of the problem.

Set a variable cell (equivalent to a free variable), there are two free variables in the argument, so set two variable cells (in order to be obvious, marked with red, can not be marked in normal operation)

Set Target function

Set the first constraint function until all the constraint function settings are complete

Click on the data, click the machine to install automatically, find the condition planning and clicks

Set the target. Click on the red box in the picture, and then click the cell in which you just set the target function.

Sets the variable cells. Click on the red box in the picture, and then click on the location of the changing cells that you just set, if the number of changing cells is two or more, you must press and hold the CTRL key one at a time to click, you can not drag together to select.

Add constraints. Click the "Add" button in the previous step diagram, click on the right yellow box in the image below, and then drag to select the cell (left yellow box) that contains the constraint function you just set, and then click the Red box on the right side of the image below, and then drag to select the cell with the constraint function assignment you just set (the left red box). Finally click OK. (This step can also add the constraint conditions one by one, and the results of the two operations are the same)

Check "make the constraint variable non-negative" (This is a practical problem, ask the constraint variable to be positive), click "Solve"

The results of the calculation have been shown, click "Keep Solver solution", you can leave the solution on the table, and then click "OK" can be.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.