[solved]-Write Program Language Choice Java C Etc Must Able Compiled Run Int Unix Machinesthe Prog Q39090550
Write a program in the language of your choice (java, c, etc). It must be able to be compiled and run int he Unix machinesThe program should take as input a specification of a network and a list of demand pairs and it should output (to standard output) the linear programming problem that must be solved to satisfy the demand pairs in an optimum way.The output of the program should be in a format that is readable by the CPLEX linear programming system (examples are in Chapter 4)The first part of the input is a list of integer triples of the formnode1 capacity node2The above corresponds to a DIRECTED link from node1 to node2 with capacity “capacity”E.g.1 10 22 5 3 3 6 1denotes a ring with three links: a link from node 1 to node 2 with capacity 10, a link from node 2 to node 3 with capacity 5, and a link from node 3 to node 1 with capacity 6Following that we have a list of demand pairs, e.g.1 3 21 2 3The above corresponds to a demand pair from node 1 to node 3 with a demand of 2 units, and a demand pair also from node 1 to node 2 with 3 unitsThe objective function will be load balancing.The variables used should correspond to the link-node approach, not the link-path approach.All integers (node id’s or capacities/demands) will be in the range 1 .. 100The above would actually look like this when given as input to your programnetwork1 10 22 5 3 3 6 1Demands1 3 21 2 3
Expert Answer
Answer to Write a program in the language of your choice (java, c, etc). It must be able to be compiled and run int he Unix machi… . . .
OR

