29 lines
375 B
Plaintext
29 lines
375 B
Plaintext
|
|
# proto-file: ortools/sat/cp_model.proto
|
||
|
|
# proto-message: operations_research.sat.CpModelProto
|
||
|
|
|
||
|
|
variables {
|
||
|
|
domain: -10
|
||
|
|
domain: 10
|
||
|
|
}
|
||
|
|
variables {
|
||
|
|
domain: -10
|
||
|
|
domain: 10
|
||
|
|
}
|
||
|
|
constraints {
|
||
|
|
linear {
|
||
|
|
vars: 0
|
||
|
|
vars: 1
|
||
|
|
coeffs: 1
|
||
|
|
coeffs: 1
|
||
|
|
domain: -100
|
||
|
|
domain: 100
|
||
|
|
}
|
||
|
|
}
|
||
|
|
objective {
|
||
|
|
vars: 0
|
||
|
|
vars: 1
|
||
|
|
scaling_factor: -1
|
||
|
|
coeffs: -1
|
||
|
|
coeffs: -2
|
||
|
|
}
|