COSC-4P82-Final-Project/lib/beagle-3.0.3/examples/GA/knapsack
Brett f868db09b1 inital commit 2024-04-01 00:01:49 -04:00
..
MSVCPP inital commit 2024-04-01 00:01:49 -04:00
config inital commit 2024-04-01 00:01:49 -04:00
knapsack inital commit 2024-04-01 00:01:49 -04:00
templates inital commit 2024-04-01 00:01:49 -04:00
AUTHORS inital commit 2024-04-01 00:01:49 -04:00
COPYING inital commit 2024-04-01 00:01:49 -04:00
INSTALL inital commit 2024-04-01 00:01:49 -04:00
Makefile.am inital commit 2024-04-01 00:01:49 -04:00
Makefile.cvs inital commit 2024-04-01 00:01:49 -04:00
Makefile.in inital commit 2024-04-01 00:01:49 -04:00
README inital commit 2024-04-01 00:01:49 -04:00
acinclude.m4 inital commit 2024-04-01 00:01:49 -04:00
aclocal.m4 inital commit 2024-04-01 00:01:49 -04:00
bootstrap inital commit 2024-04-01 00:01:49 -04:00
configure inital commit 2024-04-01 00:01:49 -04:00
configure.ac inital commit 2024-04-01 00:01:49 -04:00
knapsack.kdevelop inital commit 2024-04-01 00:01:49 -04:00

README

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

Multiobjective 0/1 Knapsack (knapsack): Multiobjective GA example

Copyright (C) 2003
by  Christian Gagne <cgagne@gmail.com>
and Marc Parizeau <parizeau@gel.ulaval.ca>

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+


Getting started
===============

  Example is compiled in binary 'knapsack'. Usage options is described by
  executing it with command-line argument '-OBusage'. The detailed help can
  also be obtained with argument '-OBhelp'.

Objective
=========

  Find a combination of objects to put in a knapsack with a minimum weight but
  a maximum value.

Representation
==============

  Bit strings made of 24 bits, where the ith bit designate whether the ith
  object is putted in the bag or not. The value and weight of each objects
  is randomly generated at each runs.

Fitness
=======

  First objective is the maximization of the knapsack's objects value. The
  second objective is the maximization of  (maximum knapsack weight -
  objects weight), that is the minimization of the weight.