Skip to content

Commit 24ee590

Browse files
committed
test: add qcqp test.
1 parent 5bdbb70 commit 24ee590

File tree

6 files changed

+319
-267
lines changed

6 files changed

+319
-267
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ each ospf implementation consists of the following components:
147147
<td>MIQCQP</td>
148148
<td>❌</td>
149149
<td>❌</td>
150-
<td></td>
150+
<td></td>
151151
<td>❌</td>
152152
<td>❌</td>
153153
</tr>

README_ch.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ ospf 采用内部<strong><em>领域特定语言</em></strong>(DSL) 的形式
146146
<td>MIQCQP</td>
147147
<td>❌</td>
148148
<td>❌</td>
149-
<td></td>
149+
<td></td>
150150
<td>❌</td>
151151
<td>❌</td>
152152
</tr>

examples/ospf-kotlin-example/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>io.github.fuookami.ospf.kotlin</groupId>
77
<artifactId>ospf-kotlin-parent</artifactId>
8-
<version>1.0.5</version>
8+
<version>1.0.6</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

examples/ospf-kotlin-example/src/main/fuookami/ospf/kotlin/example/heuristic_demo/Demo2.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ class Demo2 {
3838
return Failed(result.error)
3939
}
4040
}
41-
// val solver = CplexLinearSolver(LinearSolverConfig())
42-
// val result = when (val ret = solver(runBlocking { LinearTriadModel(model) })) {
41+
// val solver = CplexLinearSolver()
42+
// val result = when (val ret = runBlocking { solver(model) }) {
4343
// is Ok -> {
4444
// metaModel.tokens.setSolution(ret.value.results)
4545
// ret.value.results

0 commit comments

Comments
 (0)