An API which allows constraint programming for java programmers. It aims at describing hard combinatorial problems in the form of Constraint Satisfaction Problems and solving them with Constraint Programming techniques
Questions tagged [choco]
120 questions
7
votes
4 answers
" choco install visualstudio2017-workload-vctools " Fails Error: The install of visualstudio2017-workload-vctools was NOT successful
C:\WINDOWS\system32>choco install visualstudio2017-workload-vctools
Chocolatey v0.10.15
Installing the following packages:
visualstudio2017-workload-vctools
By installing you accept licenses for the packages.
Progress: Downloading…

RakeshP-0304
- 151
- 1
- 3
- 10
5
votes
2 answers
installation problem - nodejs-lts (exited 1603) - Error while running 'C:\ProgramData\chocolatey\lib\nodejs-lts\tools\chocolateyinstall.ps1'
I'm trying to create an android emulator for react-native, but I'm having some trouble installing some packages when I type in this command: choco install -y nodejs-lts openjdk11
You will find the above command at the following website:…

Adam Breslin
- 69
- 2
- 10
5
votes
2 answers
Choco forces a variable to true when it shouldn't
I am totally new to Choco and CP, but I am making a little model to solve the Steiner tree problem, and Choco keeps forcing the first node to be true whatever the graph is (and its not correct, I checked).
I have an array es of IntVar that ==1 if…

excalibur1491
- 1,201
- 2
- 14
- 29
4
votes
1 answer
Installing Dolt on Windows 10
I was trying dolt out for windows for a project ran into this error Access to the path 'C:\ProgramData\chocolatey\lib-bad' is denied. I think its was permissions issue.
Do you want to continue?([Y]es/[N]o): Y
Installing the following…

Leslie Wubbel
- 119
- 1
- 9
4
votes
2 answers
When installing Chocolatey: "The remote server returned an error: (403) Forbidden"
I am not sure what this problem says. Please Help me to figure out this issue.. Thanks in Advance..

HM Nayem
- 2,287
- 1
- 12
- 10
3
votes
2 answers
Solve multivariable equation with constraints - Choco
I want to solve a nonlinear multivariable equation with discrete values like this one:
x*y + z + t - 10 = 0
with constraints:
10 < x < 100
etc..
I am trying to do it with Choco library, but I am a little lost.
I found this code:
// 1. Create a…

dirac
- 309
- 1
- 9
2
votes
1 answer
How to use this version: 10.1.3.10-1545tr103f5d format in chocolatey nuspec version
How to use version: 10.1.3.10-1545tr103f5d format in chocolatey nuspec version. I want to include git commit id with chocolatey package version.

Avinash Jaiswal
- 133
- 1
- 1
- 6
2
votes
0 answers
How to bypass all proxy settings for choco
On Windows I've got a proxy set a computer level (netsh winhttp show proxy) and user network level settings > network > proxy.
The proxy is denying almost everything. It is being picked by choco when running:
choco install javaruntime
Chocolatey…

Fran
- 3,693
- 4
- 19
- 19
2
votes
1 answer
How to get components for building a silent install
So when running an executable, you know how there are a bunch of parameters you can check (like include a desktop icon), how do i get a list of available components for an executable, so i can pass these components to the executable from the command…

BLang
- 930
- 3
- 16
- 35
2
votes
1 answer
choco meteor install - customize / different installation location
Hi I am trying to install meteor with choco using
choco install meteor
And I understand it will install in C:\Users\yourUserName\AppData\Local\.meteor\.
Is there a way to install directly to different folder. Or once installed is it good to move…

Wickkiey
- 4,446
- 2
- 39
- 46
2
votes
1 answer
Choco Solver - How do you obtain the closest solution (satisfies the most constraints) in case of extremely long runtime?
In Choco Solver, how do you obtain the closest solution (a solution that satisfies the most constraints so far, but may not satisfy all constraints) in the case where finding a solution may take too long?
For example, if I am in the middle of…

Dante Alighieri
- 21
- 1
2
votes
1 answer
Chocolatey: How to re-install uninstalled package before
I'm managing software on my computer with Chocolatey.
I'm in a trouble with re-installing uninstalled package.
I tried to re-install it, but nothing happens.
How can I re-install a package which I uninstalled before.
choco -y install ruby --version…

Yusuke Masuda
- 485
- 1
- 6
- 19
2
votes
1 answer
Converting MiniZinc model to choco code
My minizinc model is working fine, but i need to convert it to Java code so i used choco to do it. The problem I am facing right now is the mechanism that minizinc woks with is different form choco. I wrote the constraints i used in minizinc…

Abdelhamid Nour
- 21
- 2
2
votes
1 answer
Java Choco CSP optimize using sum of variables
I am using Choco to solve a CSP. I want to do something like this:
BoolVar[] badRow = getBadRow();
solver.findOptimalSolution(ResolutionPolicy.MINIMIZE, sum(badRow));
In other words, i want the system to find a solution where badRow has the fewest…

James Watkins
- 4,806
- 5
- 32
- 42
1
vote
0 answers
Why can't I upgrade chocolatey by using the command line "choco upgrade chocolatey"?
I tried to run this command line in Powershell in administrator mode:
choco upgrade chocolatey
But it returned:
Chocolatey v1.1.0
Upgrading the following packages:
chocolatey
By upgrading, you accept licenses for the packages.
chocolatey v1.1.0 is…

corror
- 53
- 6