Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

All notable changes to this project will be documented in this file.

## [0.9.0] - 2025-10-03
- **Removed**: FlatZinc parser and integration (moved to [Zelen](https://github.com/radevgit/zelen)

## [0.8.7] - 2025-10-03
- FlatZinc Parser
- FlatZinc Parser (deprecated - moved to Zelen in v0.9.0)

## [0.8.6] - 2025-10-01
- Linear Constraint Helpers
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "selen"
version = "0.8.7"
version = "0.9.0"
edition = "2024"
description = "Constraint Satisfaction Problem (CSP) solver"
rust-version = "1.88"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,23 +45,23 @@ post!(m, x * y == int(12)); // x * y == 12
post!(m, z / y != int(0)); // z / y != 0
```

**Import FlatZinc `.fzn` file**
**FlatZinc/MiniZinc Support**

For FlatZinc `.fzn` file support, use the separate [Zelen](https://github.com/radevgit/zelen) crate:
```rust
use selen::prelude::*;
use zelen::prelude::*;
let mut model = Model::default();
model.from_flatzinc_file("puzzle.fzn")?;
let solution = model.solve()?;
println!("Solution: {:?}", solution);
```


## Installation

Add this to your `Cargo.toml`:

```toml
[dependencies]
selen = "0.8.7"
selen = "0.9"
```

## Examples
Expand Down
68 changes: 0 additions & 68 deletions examples/flatzinc_simple.rs

This file was deleted.

167 changes: 0 additions & 167 deletions src/flatzinc/ast.rs

This file was deleted.

71 changes: 0 additions & 71 deletions src/flatzinc/error.rs

This file was deleted.

Loading