aboutsummaryrefslogtreecommitdiff
path: root/python/nissy_module.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-04-21Always use unsigned char * for data buffersSebastiano Tronto1-5/+8
Before this commit I was inconsistently using one of void *, char * and uint8_t *.
2025-04-17Small rework of optimal vs maxsolsSebastiano Tronto1-3/+2
I wanted to make the "optimal" and "maxsolutions" options mutually exclusive, but in the end I decided there is value in keeping both (e.g. for specifying a limit to the number of solutions when asking for "all" optimal"). Now optimal cannot be negative anymore, for the same reason of maxsolutions. The interface user (shell, UI) will have to take care of handling this in a way that makes sense for the user. Usually this means setting the maximum number of solutions to UINT_MAX (or a similar very high number) when the user wants "all optimal".
2025-04-15Better logging functionSebastiano Tronto1-2/+2
Now it is possible to provide some data together with the logging function. This is useful for example in C++, where I can now provide an arbitrary callable object as data, and a simple wrapper function that call the callable object as logging function.
2025-04-08Some minor changes to the interface.Sebastiano Tronto1-8/+4
- Simplified logger to accept only a string, not a variadic list of args like printf(). This can still use some improvement, but now it is easier to use from other languages. - Fixed some misuses of the logger (wrong types etc) - Renamed some constants - Fixed some typos in comments.
2025-03-14Replaced datasize with solverinfoSebastiano Tronto1-10/+16
2025-03-12Revert API changeSebastiano Tronto1-8/+6
2025-03-09Fixed python moduleSebastiano Tronto1-6/+8
2024-12-14Allow choosing number of threads when calling solve()Sebastiano Tronto1-5/+7
2024-10-19Finished Python moduleSebastiano Tronto1-10/+248
2024-10-18Add node and fallback benchmarkingSebastiano Tronto1-1/+1
2024-10-14Interface changes, progress with pythonSebastiano Tronto1-12/+179
2024-10-12Initial support for PythonSebastiano Tronto1-0/+34

Generated with cgit - Back to sebastiano.tronto.net