gamsLocOpt Class Reference
Calls a GAMS-solver to solve the original problem with different bounds, fixed variables or another starting point.
More...
#include <gams.h>
List of all members.
Detailed Description
Calls a GAMS-solver to solve the original problem with different bounds, fixed variables or another starting point.
- Parameters:
-
| GAMS | write solution candidates options $ 0$ default 0 level 2 If 0, no solution candidates are written to gdx files. If greater 0, every solution candidate is written to a file solcand$<$Value$>$$<$Randomnumber$>$.gdx, where Value is the objective value. If more files were written than the number, which is specified by this parameter, the file with the worst solution candidate is removed again. |
| GAMS | write startpoint options $ 0$ default 0 level 2 If greater 0, every starting point of a local search is written to a file startpoint$<$Randomnumber$>$.gdx. |
| GAMS | LocOpt solver options name of GAMS solver default conopt level 2 Name of the GAMS solver to use to solve the original MINLP with fixed binaries. |
| GAMS | LocOpt optionfile options $ 0$ default 0 level 2 The number of the optionalfile for the local optimizer. 0 for no optionfile. |
| GAMS | LocOpt preprocessing options name of a script default none level 2 The library to link which defines some algorithm to do some preprocessing for a given startpoint before giving it to the local optimizer. |
Definition at line 274 of file gams.h.
Constructor & Destructor Documentation
gamsLocOpt::~gamsLocOpt |
( |
|
) |
|
Member Function Documentation
int gamsLocOpt::do_preprocessing |
( |
const dvector & |
start |
) |
[private] |
Calls a preprocessing program.
The improved point will be written to sol_point.
int gamsLocOpt::solve |
( |
|
) |
[inline, virtual] |
Solves the problem.
Abstract.
- Returns:
- A status code: 0, if all went right.
- See also:
- solve(dvector&)
Implements Solver.
Definition at line 329 of file gams.h.
int gamsLocOpt::solve |
( |
dvector & |
x |
) |
[virtual] |
Solves the problem for a starting point.
Sets sol_point to x. Calls solve().
- Parameters:
-
| x | The dvector to start the solver with. |
- See also:
- solve()
Reimplemented from Solver.
dvector gamsLocOpt::get_lag_multipliers |
( |
|
) |
[virtual] |
Friends And Related Function Documentation
friend class gams [friend] |
Member Data Documentation
Skript name for a preprocessing step.
Definition at line 305 of file gams.h.
A random value to identify points, we process.
Definition at line 313 of file gams.h.
The documentation for this class was generated from the following file: