IP Library Granted Patent US 9,454,626
Granted Patent B2
US 9,454,626 · App. 13/954,866 · Granted Sep 27, 2016

Solving an optimization problem using a constraints solver

Inventors: Mahesh A. Iyer (Fremont, CA); Amir H. Mottaez (Los Altos, CA)
Assignee: SYNOPSYS, INC.
G06F17/505G06F2217/06G06F2217/08
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,454,626
App. No.
13/954,866
Granted
Sep 27, 2016
Kind
B2
Abstract

Systems and techniques are described for solving an optimization problem using a constraints solver. A set of constraints that correspond to the optimization problem can be generated. Next, a set of upper bound constraints can be added to the set of constraints, wherein the set of upper bound constraints imposes an upper bound on one or more variables that are used in an objective function of the optimization problem. Next, the embodiments can iteratively perform the following set of operations on a computer: (a) solve the set of constraints using the constraints solver; (b) responsive to the constraints solver returning a solution, decrease the upper bound; and (c) responsive to the constraints solver indicating that no solutions exist or that the constraints solver timed out, increase the upper bound. The solution with the lowest upper bound value can be outputted as the optimal solution for the optimization problem.

Claims (41)

1. A method for using a constraints solver to determine an optimum value for an objective function of an optimization problem, the method comprising:

receiving a set of constraints that is defined over a set of variables, wherein the set of constraints corresponds to the optimization problem, and wherein the set of constraints includes one or more constraints that impose an upper bound on one or more variables that are used in the objective function of the optimization problem; and

iteratively performing the following set of operations on a computer:

solving the set of constraints using a constraints solver;

responsive to the constraints solver returning a solution, decreasing the upper bound; and

responsive to the constraints solver indicating that no solutions exist or that the constraints solver timed out, increasing the upper bound.

2. The method of claim 1 , wherein the upper bound is a state variable.

3. The method of claim 1 , wherein the upper bound is increased or decreased within a range of values defined by a lower limit and an upper limit, and wherein the lower limit is increased when the constraints solver indicates that the set of constraints does not have a solution or the constraints solver times out, and wherein the upper limit is decreased when the constraints solver returns a solution to the set of constraints.

4. The method of claim 3 , wherein prior to performing the set of operations on the computer, the method comprises:

determining a set of one or more random solutions to the set of constraints by solving the set of constraints using the constraints solver; and

initializing the upper limit based on the random solutions.

5. The method of claim 1 , wherein the constraints solver is capable of generating one or more solutions for the set of constraints.

6. The method of claim 1 , wherein the optimization problem is a gate-sizing optimization problem.

7. A non-transitory computer-readable storage medium storing instructions that, when executed by a computer, cause the computer to perform a method for using a constraints solver to determine an optimum value for an objective function of an optimization problem, the method comprising:

receiving a set of constraints that is defined over a set of variables, wherein the set of constraints corresponds to the optimization problem, and wherein the set of constraints includes one or more constraints that impose an upper bound on one or more variables that are used in the objective function of the optimization problem; and

iteratively performing the following set of operations:

solving the set of constraints using a constraints solver;

responsive to the constraints solver returning a solution, decreasing the upper bound; and

responsive to the constraints solver indicating that no solutions exist or that the constraints solver timed out, increasing the upper bound.

8. The non-transitory computer-readable storage medium of claim 7 , wherein the upper bound is a state variable.

9. The non-transitory computer-readable storage medium of claim 7 , wherein the upper bound is increased or decreased within a range of values defined by a lower limit and an upper limit, and wherein the lower limit is increased when the constraints solver indicates that the set of constraints does not have a solution or the constraints solver times out, and wherein the upper limit is decreased when the constraints solver returns a solution to the set of constraints.

10. The non-transitory computer-readable storage medium of claim 9 , wherein prior to performing the set of operations, the method comprises:

determining a set of one or more random solutions to the set of constraints by solving the set of constraints using the constraints solver; and

initializing the upper limit based on the random solutions.

11. The non-transitory computer-readable storage medium of claim 7 , wherein the constraints solver is an ATPG-based word-level constraints solver.

12. The non-transitory computer-readable storage medium of claim 7 , wherein the optimization problem is a gate-sizing optimization problem.

13. An apparatus, comprising:

a processor; and

a non-transitory computer-readable storage medium storing instructions that, when executed by the processor, cause the apparatus to perform a method for using a constraints solver to determine an optimum value for an objective function of an optimization problem, the method comprising:

receiving a set of constraints that is defined over a set of variables, wherein the set of constraints corresponds to the optimization problem, and wherein the set of constraints includes one or more constraints that impose an upper bound on one or more variables that are used in the objective function of the optimization problem; and

iteratively performing the following set of operations:

solving the set of constraints using a constraints solver;

responsive to the constraints solver returning a solution, decreasing the upper bound; and

responsive to the constraints solver indicating that no solutions exist or that the constraints solver timed out, increasing the upper bound.

14. The apparatus of claim 13 , wherein the upper bound is a state variable.

15. The apparatus of claim 13 , wherein the upper bound is increased or decreased within a range of values defined by a lower limit and an upper limit, and wherein the lower limit is increased when the constraints solver indicates that the set of constraints does not have a solution or the constraints solver times out, and wherein the upper limit is decreased when the constraints solver returns a solution to the set of constraints.

16. The apparatus of claim 15 , wherein prior to performing the set of operations, the method comprises:

determining a set of one or more random solutions to the set of constraints by solving the set of constraints using the constraints solver; and

initializing the upper limit based on the random solutions.

17. The apparatus of claim 13 , wherein the constraints solver is an ATPG-based word-level constraints solver.

18. The apparatus of claim 13 , wherein the optimization problem is a gate-sizing optimization problem.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 29, 2013
From: IYER, MAHESH A.; MOTTAEZ, AMIR H.
To: SYNOPSYS, INC.
Reel/Frame 031109/0762 →
Continuity (1)
Related Publication 20150040107A1 · Feb 5, 2015