The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Open GA Toolbox
Replies: 1   Last Post: Jun 13, 2013 9:40 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
gita indah

Posts: 1
Registered: 6/12/13
Open GA Toolbox
Posted: Jun 12, 2013 10:01 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Now i'm using Matlab R2009a.
I've tried to use Open Genetic Algorithm Toolbox framework.
Every time I execute the GA GUI, there are some error occured.

For example if I choose knapsack problem, here's the code :

[population, stats] = GA(knapsack_initialize());
Please enter the size of the knapsack: 100

When I executed it, these errors occured :

??? Error: File: knapsack_generate_random.m Line: 1 Column: 60
Unexpected MATLAB operator.

When I followed this error, it refers to :

function [ solution ] = knapsack_generate_random( problem, ~ )

The '~' operator is the problem.

Please tell me what happen actually and how to solve this problem.

Thanks a lot.

Date Subject Author
Read Open GA Toolbox
gita indah
Read Re: Open GA Toolbox
Steven Lord

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.