Find Jobs
Hire Freelancers

Sudoku Genetic Algorithms

$10-30 USD

Terminado
Publicado hace alrededor de 10 años

$10-30 USD

Pagado a la entrega
This assignment will give you a feel for using a generic GA engine as well as implementation of the major components of a GA loop. You are given an annotated [login to view URL] file that you can use as a template to build your own solution. You need to chose a representation. This includes the data structure you use to represent a candidate solution -an individual- and the semantic meaning of each part of your structure. For example, you may chose to represent a solution as a 9  9 multi-dimensional array with digits as items. This may not be the most efficient method in terms of memory requirements and coding complexity since you will need to differentiate the given numbers from the numbers you put yourself. Remember, the solution has to obey the Sudoku rules and it needs to be compatible with the input. The next thing to think of is the metric, the fitness, to assess the quality of your individuals. The evaluator function will assign a value to each individual based on their estimated distance to the solution. You may want to go with a minimization problem or a maximization problem based on how you define the heuristic. If your evaluator assigns smaller values to better individuals, then you have a minimization problem. You will need to define a crossover operator that is compatible with your representation. How will you pair the individuals? How will you merge the genetic material they contain in order to create the offspring? To what extend are you going to allow infeasible solutions? Will you attempt to repair any damage? Amutation operator is also necessary to inject some randomness into your population. Once again, you have to craft a mutation operator for your choice of representation. This generally involves randomly choosing a gene [sequence] and replacing it with some randomly generated genes. Once you have all these operators in-pace, you can run the algorithm on the given inputs. The code can already parse the input for you. You are expected to print out the solved board once you have the solution. A reference implementation can solve all inputs in about a minute per problem, but not on every execution. Submit the completed [login to view URL] file through the METU-Online system.
ID del proyecto: 5748993

Información sobre el proyecto

1 propuesta
Proyecto remoto
Activo hace 10 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi, I graduated cum laude with the BS Computer Science degree. I have dealt with genetic algorithms and have even done before a program similar to what you are asking. Let's talk more if you are interested. I am open to negotiations. Thanks
$30 USD en 1 día
5,0 (6 comentarios)
3,5
3,5

Sobre este cliente

Bandera de TURKEY
Edirne, Turkey
5,0
9
Miembro desde nov 9, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.