How to program this using OR-TOOLS

81 views
Skip to first unread message

Kolichala Rajashekar

unread,
Oct 13, 2021, 12:17:10 AM10/13/21
to or-tools-discuss
Hello everyone, Hope all doing great
I am trying to solve minimax optimization problem (PFA). and i cannot do it using OR-Tools or i might be missing some thing. Help in this regard is much appreciated.

Capture.JPG

vishal Pandey

unread,
Oct 13, 2021, 1:13:20 AM10/13/21
to or-tools...@googlegroups.com
Hi Rajshekher,

what is the problem u have encountered?its just an problem formulation you have shared.


-vishal

On Wed, Oct 13, 2021 at 9:47 AM Kolichala Rajashekar <kolic...@iitbhilai.ac.in> wrote:
Hello everyone, Hope all doing great
I am trying to solve minimax optimization problem (PFA). and i cannot do it using OR-Tools or i might be missing some thing. Help in this regard is much appreciated.

--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/f338bb7b-1b93-4691-a0d9-4c574b1aa084n%40googlegroups.com.

Kolichala Rajashekar

unread,
Oct 13, 2021, 1:30:56 AM10/13/21
to or-tools-discuss
HI, how can i describe the objective accroding the problem formulation , all the examples are  showing summation only

vishal Pandey

unread,
Oct 14, 2021, 1:04:17 AM10/14/21
to or-tools...@googlegroups.com
check this out,

from ortools.sat.python import cp_model
model = cp_model.CpModel()
obj_var = model.NewIntVar(lower_bound, Upper_Bound, 'makespan')
#makespan objective.
model.Minimize(obj_var)  

this should help,for further details ,google 'constraint-programming using google or-tools'

-vishal

Reply all
Reply to author
Forward
0 new messages