/[ascend]/trunk/solvers/cmslv/slv9.c
ViewVC logotype

Diff of /trunk/solvers/cmslv/slv9.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1694 by jpye, Sun Jul 15 03:59:23 2007 UTC revision 1695 by jpye, Wed Dec 26 08:23:08 2007 UTC
# Line 4900  int32 get_solvers_tokens(slv9_system_t s Line 4900  int32 get_solvers_tokens(slv9_system_t s
4900      solver_index[OPTIMIZATION_SOLVER] = slv_get_selected_solver(server);      solver_index[OPTIMIZATION_SOLVER] = slv_get_selected_solver(server);
4901    
4902      /*      /*
4903          Disabling the partition mode flag in the non linear solver.          Disabling the partition mode flag in the nonlinear solver.
4904          PARTITION is a boolean parameter of the nonlinear solver          PARTITION is a boolean parameter of the nonlinear solver
4905          QRSlv. This parameter tells the solver whether it should block          QRSlv. This parameter tells the solver whether it should block
4906          partition or not.          partition or not.
# Line 5462  int slv9_iterate(slv_system_t server, Sl Line 5462  int slv9_iterate(slv_system_t server, Sl
5462        store_real_pre_values(server,&(rvalues));        store_real_pre_values(server,&(rvalues));
5463        (sys->nliter)++;        (sys->nliter)++;
5464        if(sys->nliter == 1  || system_was_reanalyzed ==1) {        if(sys->nliter == 1  || system_was_reanalyzed ==1) {
5465          ERROR_REPORTER_HERE(ASC_PROG_NOTE,"Iterating with Non Linear solver...\n");          ERROR_REPORTER_HERE(ASC_PROG_NOTE,"Iterating with nonlinear solver...\n");
5466          slv_presolve(server);          slv_presolve(server);
5467          slv_get_status(server,&status);          slv_get_status(server,&status);
5468          update_struct_info(sys,&status);          update_struct_info(sys,&status);
# Line 5475  int slv9_iterate(slv_system_t server, Sl Line 5475  int slv9_iterate(slv_system_t server, Sl
5475          reset_cost(sys->s.cost,sys->s.costsize);          reset_cost(sys->s.cost,sys->s.costsize);
5476  #if TEST_CONSISTENCY  #if TEST_CONSISTENCY
5477          ID_and_storage_subregion_information(server,asys);          ID_and_storage_subregion_information(server,asys);
5478          CONSOLE_DEBUG("New region, Iteration = %d\n",sys->s.block.iteration);          CONSOLE_DEBUG("New region, iteration = %d\n",sys->s.block.iteration);
5479  #endif /* TEST_CONSISTENCY  */  #endif /* TEST_CONSISTENCY  */
5480        }        }
5481        slv_get_status(server,&status);        slv_get_status(server,&status);
# Line 5590  static Line 5590  static
5590  mtx_matrix_t slv9_get_matrix(slv_system_t server, SlvClientToken sys){  mtx_matrix_t slv9_get_matrix(slv_system_t server, SlvClientToken sys){
5591    if(server == NULL || sys==NULL) return NULL;    if(server == NULL || sys==NULL) return NULL;
5592    if(check_system(SLV9(sys))) return NULL;    if(check_system(SLV9(sys))) return NULL;
5593    ERROR_REPORTER_HERE(ASC_PROG_ERR,"slv9 does not get matrix.");    ERROR_REPORTER_HERE(ASC_PROG_ERR,"CMSlv solver does not support 'get_matrix'.");
5594    return( NULL );    return NULL;
5595  }  }
5596    
5597  /*  /*

Legend:
Removed from v.1694  
changed lines
  Added in v.1695

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22