Path: news.mathworks.com!not-for-mail
From: "Derya Ozyurt" <dozyurt@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to solve optimization problem with discrete decision variable
Date: Fri, 19 Dec 2008 11:43:35 -0500
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <gigivs$4cc$1@fred.mathworks.com>
References: <gigi6e$ccj$1@fred.mathworks.com>
Reply-To: "Derya Ozyurt" <dozyurt@mathworks.com>
NNTP-Posting-Host: ozyurtd.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1229705020 4492 172.31.57.150 (19 Dec 2008 16:43:40 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 19 Dec 2008 16:43:40 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: news.mathworks.com comp.soft-sys.matlab:508011


Hello Hailiang,
See if the following page gives enough information to get you started:
http://www.mathworks.com/support/solutions/data/1-10PDHC.html

Best Regards,
Derya

"hailiang shen" <hlshen2005@gmail.com> wrote in message 
news:gigi6e$ccj$1@fred.mathworks.com...
>I am trying to solve an optimization problem with GA. And my decision 
>variables are discrete, they are picked up  from 50, 100, 150, 250, 350, 
>500.
>
> Should I custom my population type?
>
> Thanks for any help.
>
> Hailiang