chocoteam / chocoteam/choco-solver

Improvements of IntVar Views

Open
#564 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Java
Stars
779
Forks
159
Avg merge
6d 9h
Merged PRs (30d)
10

Description

Let x be a integer variable. The following views are available:

- scale view: s(x) = a*x (a >= -1)
- minus view: m(x) = -x
- offset view: t(x) = x + b

Here are two natural improvements
- [ ] extend the scale view for any a.
- [ ] propose an affine view: f(x) = a*x + b

Experienced with choco-solver-_*{4.0.6}*_

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by locating the existing IntVar scale, minus, and offset views, then determine the intended behavior and constraints for negative scale factors and the affine view. Done means the requested view improvements are implemented with coverage for the proposed cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.