COSC_4P82_Assignment_1/lib/beagle-3.0.3/examples/GA/knapsack
Brett e125f04383 init 2024-02-13 21:21:51 -05:00
..
MSVCPP init 2024-02-13 21:21:51 -05:00
config init 2024-02-13 21:21:51 -05:00
knapsack init 2024-02-13 21:21:51 -05:00
templates init 2024-02-13 21:21:51 -05:00
AUTHORS init 2024-02-13 21:21:51 -05:00
COPYING init 2024-02-13 21:21:51 -05:00
INSTALL init 2024-02-13 21:21:51 -05:00
Makefile.am init 2024-02-13 21:21:51 -05:00
Makefile.cvs init 2024-02-13 21:21:51 -05:00
Makefile.in init 2024-02-13 21:21:51 -05:00
README init 2024-02-13 21:21:51 -05:00
acinclude.m4 init 2024-02-13 21:21:51 -05:00
aclocal.m4 init 2024-02-13 21:21:51 -05:00
bootstrap init 2024-02-13 21:21:51 -05:00
configure init 2024-02-13 21:21:51 -05:00
configure.ac init 2024-02-13 21:21:51 -05:00
knapsack.kdevelop init 2024-02-13 21:21:51 -05: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.