On Monday, March 19, 2012 4:10:18 PM UTC+1, quinyu wrote:
>
> I would like to know if it can be used to solve my problem as well. The 
> problem at hand is cross-stitching....


Hi, I've never heard of that before. Do you have a picture at hand what 
this actually is?
I also only read half of your posting because I somehow lost it. 
My gut feeling tells me that all those stitches can be represented in a 2d 
array consisting of -1, 0 and 1 which represent "down", "nothing", "up". 
All remaining things you tell us are probably linear constraints, or maybe 
can be made to be (distances are not linear). Hence, this is a MILP and you 
can use Sage's MixedIntegerLinearProgram class. You will also need to 
install a solver for problems of a bigger size, like coin-or/cbc.

H

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to