From 4701e17bf5c622d0f66aa061a3b039e63b79d001 Mon Sep 17 00:00:00 2001 From: NY57 <121103446+NY57@users.noreply.github.com> Date: Tue, 23 Apr 2024 15:45:04 +0900 Subject: [PATCH] Update proto/ommx/v1/instance.proto Co-authored-by: Toshiki Teramura --- proto/ommx/v1/instance.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/proto/ommx/v1/instance.proto b/proto/ommx/v1/instance.proto index f1d0d724..9066aaa2 100644 --- a/proto/ommx/v1/instance.proto +++ b/proto/ommx/v1/instance.proto @@ -39,5 +39,10 @@ message Instance { SENSE_MAXIMIZE = 2; } + // The sense of this problem, i.e. minimize the objective or maximize it. + // + // Design decision note: + // - This is a required field. Most mathematical modeling tools allow for an empty sense and default to minimization. Alternatively, some tools do not create such a field and represent maximization problems by negating the objective function. This project prefers explicit descriptions over implicit ones to avoid such ambiguity and to make it unnecessary for developers to look up the reference for the treatment of omitted cases. + // Sense sense = 5; }