First of all I'm not a programming whiz at all.
I am writing a program that plays Hex, it's the game Nash came up with (of Beautiful Mind fame). Anyway, I am using a position evaluation function that treats the board as a big simultaneous equation. 121x121 to be exact. Most values are going to be the same, zero, but for about 10-12 of each the value will be different.
Anyway, the idea was to use some sort of library function to solve this 121x121 for one value in it.
I am afraid this will take too much time, as I'll need to solve around 121^5 (for 5 ply) of these 121x121 matrices in at most 30 seconds. I'm just looking for some sort of ballpark estimate, well not even that, just a "solving a matrix doens't take too long compared to most math functions" or a "that'll take forever" type idea...
I know this question is broad, probably too broad, but any help would be great! thanks....
I am writing a program that plays Hex, it's the game Nash came up with (of Beautiful Mind fame). Anyway, I am using a position evaluation function that treats the board as a big simultaneous equation. 121x121 to be exact. Most values are going to be the same, zero, but for about 10-12 of each the value will be different.
Anyway, the idea was to use some sort of library function to solve this 121x121 for one value in it.
I am afraid this will take too much time, as I'll need to solve around 121^5 (for 5 ply) of these 121x121 matrices in at most 30 seconds. I'm just looking for some sort of ballpark estimate, well not even that, just a "solving a matrix doens't take too long compared to most math functions" or a "that'll take forever" type idea...
I know this question is broad, probably too broad, but any help would be great! thanks....