×

Multi-threaded constraint satisfaction solver

  • US 10,509,654 B2
  • Filed: 08/09/2017
  • Issued: 12/17/2019
  • Est. Priority Date: 08/09/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method for multi-threading, comprising:

  • establishing, by a master thread executing on a computing device comprising a processor device, an initial solution state of a constraint problem, the initial solution state based at least in part on a collective state of a plurality of planning entity objects used to model the constraint problem;

    establishing, by the master thread executing on the computing device, a plurality of solver threads, each solver thread having an initial solution state that is identical to the initial solution state of the master thread and having a plurality of cloned planning entity objects that are clones of the plurality of planning entity objects;

    communicating, by the master thread executing on the computing device, a first plurality of temporary state changes to the plurality of solver threads that alters the initial solution state of each solver thread to a different solution state;

    receiving, from each respective solver thread of the plurality of solver threads, a first score associated with the different solution state of the respective solver thread;

    identifying, by the master thread executing on the computing device, a particular score received from a particular solver thread of the plurality of solver threads as a best score; and

    implementing a permanent state change to the initial solution state of the master thread to generate a new solution state that matches a solution state associated with the particular score.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×