Free Constraint Programming Library for Java?? what to use?

Hi everyone,
I am currently programming the popular Sudoku game as my final year project at university. After doing some research I found that using Constraint Programming would be the best way to generate and solve the Sudoku puzzles... however, I'm in a bit of a dilemma....
I'm not sure what Constraint Library to use - the most popular one out there is Koalog - but its a commercial application - and I was looking for an open source or free application.
I have been looking into the Choco (http://choco.sourceforge.net) Library but I am having trouble with getting hold of the global constraints I need ie AllDifferent.
An extensive guide of how to use Constraint Programming is shown on the Java Sun Website: http://today.java.net/pub/a/today/2005/11/29/solving-sudokus-in-java.html
Any advise would be greatly appreciated.
Thanks in advance
:o)

Hi aniseed,
Thanks for the user guide link -- I have looked through and I am beginning to understand it all.... but my main problem is that the user guide specifies a global constraint called allDifferent
Here are described som of those constraints :
1. pb.allDifferent(IntVar[] vars) creates a constraint ensuring that all pairs of variable
have distinct values (which is useful for some matching problems)When I try to type pb.allDifferent into my program - it does not recognise the method so it does not compile- all the other methods work apart from this one.
Any ideas?? :o)

Similar Messages

  • PS Library for Java?

    Does Adobe have a postscript print library for Java?
    I called Adobe Support - and got the typical India call center (no help of course). Hopefully Adobe has smart people someplace in the company... just not sure where.
    We have a Java Web Start desktop client for geospatial work that we need to add postscript support for large format printing (e.g. E size drawings). The goal is decrease print times over the normal Java2D/Windows "render a bitmap image on the client - then send it to the print server - then to the printer" method by creating a small postscript file to send to the printer - that can then create the large bitmap to print at the device.
    From what I can tell Adobe has no such library - is that really true?
    If so - does anyone have recomendations on a good solid commercial or open source library?
    Google seaches come up with only a couple (e.g. RiePS), none of which sound very robust. Does no one develep applications to output to postscript any more?
    Thanks in advance...

    Assuming that you are lookng for a library for creation of PostScript, no, Adobe offers no libraries for PostScript creation in Java or otherwise.
    Most applications in common operating systems environements (Windows, MacOS, etc.) rely on the operating system's internal graphics model and the provided PostScript driver to generate PostScript for the particular device and deliver same over the device's communication channel (Ethernet, USB, etc.).
              - Dov

  • XMPFile library for Java - when?

    What are the latest plans for developing the XMPFile library for Java? We are really in great need of this and would be most appreciative if it could be developed and made available as soon as possible.
    Thanks,
    Kent

    Assuming that you are lookng for a library for creation of PostScript, no, Adobe offers no libraries for PostScript creation in Java or otherwise.
    Most applications in common operating systems environements (Windows, MacOS, etc.) rely on the operating system's internal graphics model and the provided PostScript driver to generate PostScript for the particular device and deliver same over the device's communication channel (Ethernet, USB, etc.).
              - Dov

  • ANN: G - 2D Graphics Library for Java, v1.0

    G - 2D Graphics Library for Java
    Version 1.0, December 13, 2004:
    http://geosoft.no/graphics/index.html
    Features:
    * Object oriented hierarchical scene graphs
    * Layered graphics with visibility support
    * Flexible 3D space world extents
    * World and device coordinate support
    * Powerful rendering style support
    * Smart annotations
    * Powerful object detection functions
    * Extensible
    * Interaction support
    * Raster image support
    * Embedded Swing component support
    * Utilities for geometry generation and transformations
    * Image export and printing support
    * JDK 1.2, 1.3, 1.4 and 1.5 compatible
    * Light weight (~80kB), self contained, simple to use
    * Free, open source (LGPL), OSI certified
    Jacob Dreyer
    G Project Manager
    GeoSoft

    I see no question - so I can't answer you ... do i
    get the dukes now?:-)
    Download the library, create something great and beautiful,
    report your experiences back to me, and we'll see...

  • Advanced math library for java needed.

    Hi,
    I need to perform nonlinear regression in order to fit a function to a set of datapoints (five parameters to estimate simultaneously).
    Does anyone know of a library for Java that can perform this? I have not been able to find something myself so far.
    Thanks in advance!

    Here's a thought, kind of whacky and off the wall, but ... build it yourself?
    Just a thought.

  • I have a problem with elements 8. When ever I start a new project, the program searches for the old, latest used filmmaterial, I have used before. That means, if I use a different DVD, it take so much time, until the program starts. So how can I stopp the

    I have a problem with elements 8. When ever I start a new project, the program searches for the old, latest used filmmaterial, I have used before. That means, if I use a different DVD, it take so much time, until the program starts. So how can I stopp the automatically uploading of old material?
    Thanks

    You have 2 unreachable statements in this method.
    public static int eval(String s2, String op, String s3) {
    return lookup(s2);
    return lookup(op);
    return lookup(s3);
    } You're missing a } at the end of this method:
    public static int lookup(String s) {
        for(int k = 0; k < symbols.length; k++){
            String symbol = symbols[k];
            if(s.equals(symbol))
                return k;
        }You have some loose } and ; at the end of the file:
    public static void main(String args[])
    commandline();
    }

  • Delphi and Free Pascal client library for Open MQ (new preview version)

    A new version of the Delphi / Free Pascal client library Habari for Open MQ, with demo applications (ProducerTool, ConsumerTool), API documentation and a 'Getting Started' tutorial, is now available at http://www.mikejustin.com/habari.html. Many thanks to the Open MQ project for introducing Stomp support in Open MQ!
    Best regards,
    Michael Justin
    SCJP, SCJA
    betasoft - Software for Delphi™ and for the Java™ platform
    http://www.mikejustin.com - http://www.betabeans.de

    Thanks ioscar.
    The original link should be back online soon.
    I believe this is a Dropbox error about the traffic generated by my Dropbox shared links.
    I use Dropbox mainly for my business and I am pretty upset by this situation.
    Since the filters themsemves are about 5KB, I doubt they are the cause for this Dropbox misbehavior!
    Anyway, I submitted a support ticket to Dropbox, and hope everything will be back to normal very soon.
    In the meantime, if you get the same error as ioscar when trying to download them, you can use the link in the blog posting he mentions.
    This is out of topic, but for those interested, here is my understanding of what happened with Dropbox.
    I did a few tests yesterday with large (up to 4GB) files and Dropbox shared links, trying to find the best way to send a 3 hour recording from French TV - French version of The Voice- to a friend's 5 year old son currently on vacation in Florida, and without access to French live or catch up TV services. One nice thing I found is that you can directly send the Dropbox download URL (the one from the Download button on the shared link page) to an AppleTV using AirFlick and it works well even for files with a large bitrate (except of course for the Dropbox maximum bandwidth per day limit!). Sadly, my Dropbox shared links were disabled before I could send anything to my friend.
    I may have used  a significant amount of bandwidth but nowhere near the 200GB/day limit of my Dropbox Pro account.
    I see 2 possible reasons to Dropbox freaking out:
    - My Dropbox Pro account is wronngly identified as a free account by Dropbox. Free Dropbox accounts have a 20GB/day limit, and it is possible that I reached this limit with my testing, I have a fast 200Mb/s internet access.
    - Or Dropbox miscalculates used bandwidth, counting the total size of the file for every download begun, and I started a lot of downloads, and skipped to the end of the video a lot of times on my Apple TV.

  • Need 9.0 SDK library for java

    We have crystal enterprise server 8.5 & using IBM RAD 6.0 for java based client development. i believe RAD by default gets 10.0 SDK with which we are getting unsupported enterprise version exception.
    At this moment we are not upgrading enterprise server to higher version. i was looking for older SDK versions in Business object's SDK library page... but vouldn't find any older version SDK.
    If any one has exact information about where can i get older version (9.0) SDK libraries would be of great help
    Thanks & Regards,
    Rajendra

    I don't believe that there were any jars for 8.5 - that was introduced in version 9.  If you have an install of version 9 - you can find the jar files in the javasdk folder located in c:\program files\common files\Crystal Decisions\2.0\  ( I believe that's the correct folder - I'm going from memory)
    Shawn

  • Open Document Format - No library for Java???

    Hi guys,
    I'm looking for a library that let's me access Open Document Files, like *.ods.
    There SHOULD BE something like that...
    Does anybody of you know anything?
    Greetz
    Sascha

    On the OpenOffice.org site, look under projects, and there's an Open Document Toolkit for Java. I've no idea of its status though.

  • JSON Library for Java

    Hi folks,
    I have found few JSON libraries for Java such as Google and json.org. Would anyone recommend a good one for me, thanks!

    I have been using that library (org.json) for about 3 months. It is simple and I haven't found any bugs.
    There isn't much to JSON so I wouldn't expect one library to much different than another.

  • Program name for the query generated using sq0102-03

    Hi Folks,
    How can we know the proggram  name for the query generated using sq01 and all?
    K.Kiran.

    Hi Kiran,
    U can get program name of nay transaction code by following this procedure
    after entering tcode it will direct u to the related screen then on the tool bar select system then go for status there u can find program name
    Rewards if helpfull
    Regards,
    Pavan

  • While download what I thought was  a free memorial program template for my dad's memorial I got a free trial of iworks, I already have iworks on my computer.  Now I can't save my work on ipages. How do I restore and save my own iworks?  Help please!!.

    BACKGROUND INFO:
    I am working on a memorial program for my father.  I googled free memorial template.  Followed the program and ended up downloading iworks 30 day free trial, a program that have already on my computer.  I went to FInder found the free trial and dumped it into the trash.  Then I opened my ipages and modified one of those templates for the memorial program.  When I went to save the changes made a message popped up stateding that I could not save my work before I activated the free trial. 
    QUESTIONS:
    1) How do I save my work on ipages?
    2) How do I delete the trial program so I can access all my originial software and my previously saved documents?

    - Are you saying that they are not listed in your Purchased section?
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    - Are they listed in your Puchases history when you log into your account on your computer?
    - Are they still available now for purchase? If not then you are out of luck
    If they are still available and listed in your Puchase History then contact iTunes
    http://www.apple.com/support/itunes/

  • HTTP+FTP+HTTPS library for JAVA

    Looking for a free JAVA library (with source code) that can manage automatic HTTP, HTTPS and FTP downloads.
    Need a robust library with retry, scheduling, error report mechanism Please let me know
    Thanks in Advance..
    Regard's
    Roopesh

    Take a look at URLConnection and it's derived classes and if they do not do what you want then google for "Jakarta Commons Net" .

  • Is there any parallel programming libraries for java?

    Greetings
    I am taking a course about parallel processing and we are using the C language with the MPI library.
    so, I was wondering if there is any java libraries for parallel programming

    Did you try google?
    Many, many hits include:
    http://librenix.com/?inode=5348
    http://www.alphaworks.ibm.com/tech/dppej
    http://www.cpc.wmin.ac.uk/~justog/Courses/ParallelProgrammingwithJava/Homepage.htm

  • What is the latest version of Forte for Java which can use jdk 1.2.2

     

    Depends what you mean. Even though the latest version of FFJ requires 1.3 for its own operations, it can still compile applications for jdk 1.2.2.

Maybe you are looking for