Giter VIP home page Giter VIP logo

a-name-to-make-this-less-searchable's Introduction

The main strategy behind this is hill climbing.

The hill climber works by starting from a random assignment. It randomly iterates through all variables. At the first variable found such that changing that variables increases the score, it changes that variable to maximize score gain. If the variable can be changed to a different value while keeping the same score, it does so. This allows the high climber to travel on plateaus To avoid infinite plateau loops, the climber is allowed to not increase score up to 350 times. Then, it must either improve score or restart. At a restart, half the indices are chosen, and reset to random values.

This repeats on many threads, for many iterations.

There are also some meta-strategies. One file processes equations until the equations have connected all variables into a tree (if you think of variables = vertices, equations = edges) A tree can be satisfied P ways, check all these ways and return the best. If a team did not randomize the order of their equations, and placed the optimal solution at the top of their file, this will find that optimal very quickly. This works surprisingly well. We also ran this on the last equations, in case a team generated the optimal equations at the end.

Finally, there was some hand-done tweaking that involves seeding hill climbers/iterative improvers with good solutions (usually ones found by the meta-strategy breaker above.) This allows for more optimization.

a-name-to-make-this-less-searchable's People

Contributors

alexirpan avatar perrygeo avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.