Re: n-queens problem



On Jun 13, 8:27 am, perastikos1 <perastik...@xxxxxxxxx> wrote:
sorry but i cant see any help in previous posts from other members...

I can, so it makes me wonder what "help" it is you seek.

i think my question is simple...i want to solve the n-queens problem with 6 queens in matlab...
i cant understand what else should i say?

As before, explain what you tried and what difficulty you ran into.

i dont want someone to solve it and give it to me, if someone have manage to solve it then to give me if he wants...

thanks

Again you are quite articulate about what you don't want.

Here you don't want "someone to solve it and give it to me,"
although your next statement muddles that point by seeming
to say you'd be okay with that "if he wants...".

Previously you said you don't want to be an expert in
matlab programming. Yet this too is confusing since
you keep bring matlab into the picture: "i want to solve
the n-queens problem with 6 queens in matlab..."

By the way, if you want to solve only the 6 queens
problem (I pointed you to some articles on solving
the n-queens problem and the history of its study),
then it's confusing that you keep referring to the
n-queens problem.

So specifically, here's what you should take the
time to explain before I go further into this:

1) What makes matlab important in this quest?
Is that your choice? Is that your best
or only programming skill? Or is this an
exercise in learning matlab (despite your
talk of not wanting to be "a matlab expert")?

2) Is the problem 6 queens or n-queens, and do
you mean one solution or all solutions when
you talk about wanting "to solve" it?

3) What did you try? What worked well, and what
did you find didn't work out in that effort?

regards, chip

.



Relevant Pages

  • n-queens problem: a modified version
    ... The n-queens problem asks in how many ways we can put n queens in an n ... by n chess board such that no two queens attack each other. ... The related integer sequence is ...
    (sci.math.research)
  • A new solution to the N-queens problem ?
    ... I would need help for a new solution to the N-queens problem. ... "Place N queens on a chessboard NxN so that no two queens are ... I think I've found a solution for the diagonals, ... % permut:- the list Zs is a permutation of the list Xs. ...
    (comp.lang.prolog)