[Symphony] biobjective problems

Papis Wongchaisuwat papis_31 at hotmail.com
Sat Sep 14 22:58:51 EDT 2013


I found  bicriteria.c file in Examples. I tried running with the data set and I got several solutions as I am supposed to get. However, I am not sure whether I got a correct result.These are some parts of bicriteria.c file#include "symphony.h"
int main(int argc, char **argv){
   sym_environment *env = sym_open_environment();   sym_parse_command_line(env, argc, argv);   sym_load_problem(env);
   sym_set_obj2_coeff(env, 1, -1);
   sym_mc_solve(env);
   sym_close_environment(env);
   return(0);
}
#endif
Does anyone know what sym_set_obj2_coeff(env, 1, -1) means?  When should I use 1 or -1?My sample data is a minimization problem.
Thank you,Papis
> Date: Fri, 13 Sep 2013 23:29:29 -0500
> From: hennebry at web.cs.ndsu.nodak.edu
> To: papis_31 at hotmail.com
> CC: symphony at list.coin-or.org
> Subject: RE: [Symphony] biobjective problems
> 
> On Sat, 14 Sep 2013, Papis Wongchaisuwat wrote:
> 
> > I would like to run bi-objective Set cover and Set pack problems. Attached files are some examples that I want to run. MCKP and these problems are quite different. I don't know how to apply MCKP or either use any other ways to run these problems.
> 
> From reading the manual,
> I gather one can call sym_explicit_load_problem( ... )
> and follow it by calling sym_mc_solve( ... ) .
> Is there a reason that you cannot do that?
> 
> -- 
> Michael   hennebry at web.cs.ndsu.NoDak.edu
> "On Monday, I'm gonna have to tell my kindergarten class,
> whom I teach not to run with scissors,
> that my fiance ran me through with a broadsword."  --  Lily
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20130915/a17d3986/attachment.html>


More information about the Symphony mailing list