KOALOG
Google
wwwwww.koalog.com
 

Latest newsRSS 1.0

KCS is used at Carnegie Mellon University by the SPIRAL research team for optimally compiling scientific code (eg FFT).

KCS is used at Fakultas Ilmu Komputer, Indonesia for research about course scheduling.

See more news...

Configure a car

Try a car configurator built using Koalog ConfiguratorTM and its web components.

Lease a car

Request a login and a password and try a car leasing website built using Koalog Car LeaseTM.

Play Sudoku & Kakuro

We publish daily 6 free Sudokus on sudoku.koalog.com and 1 free Kakuro on kakuro.koalog.com.

Subscribe to our newsletter

Enter your email to receive quaterly news about KoalogTM and its products:


iForce

The Golomb Ruler Problem

Description

A 4-mark ruler

The problem can simply be stated as: given a positive integer n, find a set of n positive increasing integers (marks) such that all the differences between marks are distinct and such that the last mark (the length of the ruler when the first mark is 0) is minimal. More on the Golomb ruler problem...

Business and Industrial Applications

This problem is said to have many practical applications including sensor placements for x-ray crystallography and radio astronomy.

Modelling & Solving

We use a very classical modelling - Java file (5kb) [view] - based on marks and distances between marks, and a very basic optimizer: Java file (1kb) [view].

As stated in this research report, additional pruning of the search space can be obtained by taking into account the fact that distances between marks are sums of integers that have to be different. Instead of writing a new constraint, we define a new solver by overriding the filter method of a BacktrackSolver: Java file (4kb) [view].

Results

The following results include the computation of an optimal solution and the proof of its optimality.

Koalog Constraint SolverTM v2.2
SizeTimeBacktracks
102.2 s8280 b
1160 s 171 kb
12590 s1305 kb
133.5 h19 Mb
1457.8 h256 Mb
More examples...

Contact/Support - About us - News - Site map - Legal notice - Copyright 2002-2007 Koalog SARL
Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.