# TaoLMVMSetSize

Sets the number of previous points and gradients to be used in calculating the step direction for the limited memory variable metric methods.

## Synopsis

    #include "tao_solver.h"
    int TaoLMVMSetSize(TAO_SOLVER tao,int lm)

Collective on TAO_SOLVER

## Input Parameters

| tao | - the TAO_SOLVER context
| lm | - the number of previous points and gradients to be used.

## Output Parameter

## Options Database Keys

-tao_lmvm_lm <lm> -

## Keywords

method

Level:intermediate
Location:src/interface/tao.c
TAO Solver Index
Table of Contents