Giter Site home page Giter Site logo

pothitos / naxos Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 9.0 2.45 MB

A C++ Constraint Programming Library

License: GNU Lesser General Public License v3.0

C++ 96.29% TeX 0.31% Shell 1.62% Awk 0.18% Gnuplot 0.06% C 0.78% CMake 0.76%
constrained-optimization csp solver

naxos's Issues

Determine redundant constraints

Hello, I have a Problem with a lot of redundant constraints. I'm wondering if there's a way to determine which constraints were or weren't used in finding the solution (if there is one).
Thanks and I hope this makes sense.

Invalid 'constr->revisionType'

When I execute the code:

naxos::NsProblemManager pm;
naxos::NsIntVar test = naxos::NsIntVar(pm, 0, 1);
pm.add(test == 0);
if (pm.nextSolution()) {
  std::cout << "Solution found!" << std::endl;
}

I get this error:

Naxos: Ns_QueueItem::getNextConstraint: Invalid 'constr->revisionType'

Why?
Is this a bug or a problem with the use of the library?

Grid representation

What is the best type to use as a representation of a grid?

A NsIntVarArray?
A NsDeque<NsDeque<NsInt>> ?
Or is there something more convenient?

VS 2017 compile error

Hi,

I am trying to compile with VS2017 Community Edition, but I get this error.

E0413 no suitable conversion function from "std::ofstream" to "bool" exists c:\naxos\core\naxos.h 1249

Please help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.