top of page
LocalSolver Tech.Q/A
Q: How tomake a constraint that an array of lists is disjoint?
Q:How tomake a constraint that an array of lists is disjoint? Example: x[0..9] <- list(30); constraint disjoint(x); A:Your example is...
2022年5月15日
Q: Is itpossible to define a union of disjoint lists?
Q:Is itpossible to define a union of disjoint lists? Example: x[0..9] <- list(30); y[i in 0..4] <- union(x[i], x[2*i+1]); so that for [i...
2022年5月14日
Q:Is it possible too loop over elements of alist and use the values as indices?
Q: Is it possible too loop over elements of alist and use the values as indices? Example: A[0..29] = inFile.readInt(); x <- list(30); //...
2022年5月13日
Q:Is itpossible to define an intersection of lists?
Q:Is itpossible to define an intersection of lists? Example: x[0..9] <- list(30); y[i in 0..4] <- intersection(x[i], x[2*i+1]); so that...
2022年5月13日
Q:Set変数とlist変数について教えてください。
Setとlistもまた、非常に差別化された強力な機能があり、モデルを簡潔かつスケーラブルにし、非常に効率的に解けます。 私の好きな例としては、ビン詰め問題とTSP問題です。です。 もし、もっと複雑なモデルを示したい場合は、CVRP問題を参照してください。多くの場合、Setと...
2022年5月5日
Q:MIPソルバーとの違いは?
A:LocalSolverには「中間変数」のようなものはありません。 意思決定変数と中間式という2つの重要な概念を区別しています。式は、意思決定変数から推論することができます。
2022年5月2日
Q:意思決定変数と中間式という2つの重要な概念を区別について詳細を教えてください
A:MILPモデリングでは、 Mc Cormickの不等式を使用して、 2つの変数の積を表現します。 ただし、LocalSolverでは、 単に積を直接x * yと書けばよいのです。 (追加の意思決定を導入する必要はありません)。 より完全な例を挙げると、...
2022年5月1日
Q:Is itpossible define a list variable with predefined elements,
Is itpossible define a list variable with predefined elements, where the onlyvariable is their order? Example: x <- list(5); contains(x,...
2021年4月13日
bottom of page