中文
相关论文

相关论文: PyCSP3: Modeling Combinatorial Constrained Problem…

200 篇论文

The MCP Solver bridges Large Language Models (LLMs) with symbolic solvers through the Model Context Protocol (MCP), an open-source standard for AI system integration. Providing LLMs access to formal solving and reasoning capabilities…

人工智能 · 计算机科学 2025-04-08 Stefan Szeider

We introduce a problem class we call Polynomial Constraint Satisfaction Problems, or PCSP. Where the usual CSPs from computer science and optimization have real-valued score functions, and partition functions from physics have monomials,…

离散数学 · 计算机科学 2010-01-14 Alexander D. Scott , Gregory B. Sorkin

We study the computational complexity of counting constraint satisfaction problems (#CSPs) whose constraints assign complex numbers to Boolean inputs when the corresponding constraint hypergraphs are acyclic. These problems are called…

计算复杂性 · 计算机科学 2024-03-15 Tomoyuki Yamakami

In this work we introduce a novel approach, based on sampling, for finding assignments that are likely to be solutions to stochastic constraint satisfaction problems and constraint optimisation problems. Our approach reduces the size of the…

最优化与控制 · 数学 2015-09-22 Roberto Rossi , Brahim Hnich , S. Armagan Tarim , Steven Prestwich

The constraint satisfaction problem (CSP) is a general problem central to computer science and artificial intelligence. Although the CSP is NP-hard in general, considerable effort has been spent on identifying tractable subclasses. The main…

人工智能 · 计算机科学 2014-07-09 David A. Cohen , Martin C. Cooper , Páidí Creed , András Z. Salamon

Constraint Satisfaction Problems (CSPs, for short) make up a class of problems with applications in many areas of computer science. The first classification of these problems was given by Schaeffer who showed that every CSP over the domain…

计算复杂性 · 计算机科学 2025-08-18 Dejan Delic , John Marcoux

Random instances of Constraint Satisfaction Problems (CSP's) appear to be hard for all known algorithms, when the number of constraints per variable lies in a certain interval. Contributing to the general understanding of the structure of…

离散数学 · 计算机科学 2009-04-20 Andrea Montanari , Ricardo Restrepo , Prasad Tetali

Language models (LMs) can generate code but cannot guarantee its correctness$\unicode{x2014}$often producing outputs that violate type safety, program invariants, or other semantic properties. Constrained decoding offers a solution by…

编程语言 · 计算机科学 2025-12-03 Shaan Nagy , Timothy Zhou , Nadia Polikarpova , Loris D'Antoni

Solving avoidability problems in the area of string combinatorics often requires, in an initial step, the construction, via a computer program, of a very long word that does not contain any word that matches a given pattern. It is well…

形式语言与自动机理论 · 计算机科学 2019-06-04 Thorsten Ehlers , Florin Manea , Dirk Nowotka , Kamellia Reshadi

To model combinatorial decision problems involving uncertainty and probability, we introduce stochastic constraint programming. Stochastic constraint programs contain both decision variables (which we can set) and stochastic variables…

人工智能 · 计算机科学 2009-03-09 Toby Walsh

Constraint satisfaction problem (CSP) has been actively used for modeling and solving a wide range of complex real-world problems. However, it has been proven that developing efficient methods for solving CSP, especially for large problems,…

人工智能 · 计算机科学 2021-06-10 Zouhayra Ayadi , Wadii Boulila , Imed Riadh Farah

In the maximum constraint satisfaction problem (MAX CSP), one is given a finite collection of (possibly weighted) constraints on overlapping sets of variables, and the goal is to assign values from a given finite domain to the variables so…

计算复杂性 · 计算机科学 2007-05-23 Vladimir Deineko , Peter Jonsson , Mikael Klasson , Andrei Krokhin

Applying iterative solvers on sparsity-constrained optimization (SCO) requires tedious mathematical deduction and careful programming/debugging that hinders these solvers' broad impact. In the paper, the library skscope is introduced to…

机器学习 · 统计学 2024-10-14 Zezhi Wang , Jin Zhu , Peng Chen , Huiyang Peng , Xiaoke Zhang , Anran Wang , Junxian Zhu , Xueqin Wang

In this paper, we investigate the constraint typology of mixed-integer linear programming MILP formulations. MILP is a commonly used mathematical programming technique for modelling and solving real-life scheduling, routing, planning,…

人工智能 · 计算机科学 2021-03-02 Vicky Mak-Hau , John Yearwood , William Moran

Constraint programming (CP) is a crucial technology for solving real-world constraint optimization problems (COPs), with the advantages of rich modeling semantics and high solving efficiency. Using large language models (LLMs) to generate…

人工智能 · 计算机科学 2026-01-13 Weichun Shi , Minghao Liu , Wanting Zhang , Langchen Shi , Fuqi Jia , Feifei Ma , Jian Zhang

Constraint Satisfaction Problems (CSPs) typically have many solutions that satisfy all constraints. Often though, some solutions are preferred over others, that is, some solutions dominate other solutions. We present solution dominance as a…

人工智能 · 计算机科学 2018-12-24 Tias Guns , Peter J. Stuckey , Guido Tack

This paper introduces ROmodel, an open source Python package extending the modeling capabilities of the algebraic modeling language Pyomo to robust optimization problems. ROmodel helps practitioners transition from deterministic to robust…

最优化与控制 · 数学 2021-05-19 Johannes Wiebe , Ruth Misener

In this paper, we present pomdp_py, a general purpose Partially Observable Markov Decision Process (POMDP) library written in Python and Cython. Existing POMDP libraries often hinder accessibility and efficient prototyping due to the…

人工智能 · 计算机科学 2020-04-22 Kaiyu Zheng , Stefanie Tellex

Constraint satisfaction problems (CSPs) consist of a set of variables taking values from some finite domain and a set of local constraints on these variables. The objective is to find an assignment to the variables that maximizes the…

计算复杂性 · 计算机科学 2026-05-12 Amey Bhangale , Yezhou Zhang

Cooper is an open-source package for solving constrained optimization problems involving deep learning models. Cooper implements several Lagrangian-based first-order update schemes, making it easy to combine constrained optimization…

机器学习 · 计算机科学 2025-04-03 Jose Gallego-Posada , Juan Ramirez , Meraj Hashemizadeh , Simon Lacoste-Julien