Zcaic

Results 8 comments of Zcaic

I don't know where is wrong when I use `DynamicsPointMass2DSpeedGamma` to solve this question.

Thanks for replying, I have try it as you mentioned. The code is ``` N = 100 opti = asb.Opti() time_final = opti.variable(init_guess=5.0, lower_bound=0.01) time = anp.linspace(0, time_final, N) dyn...

It‘s my new code: ``` N = 100 g = 9.81 opti = asb.Opti() time_final = opti.variable(init_guess=5.0, lower_bound=0.01) time = anp.linspace(0, time_final, N) dyn = asb.DynamicsPointMass2DCartesian( mass_props=asb.MassProperties(mass=1.0), x_e=opti.variable(init_guess=anp.linspace(0, 10, N),...

我看了下源码,xmake好像是根据注册表去找vs的,而且构建工具好像用的是msbuild,不知道我理解的对不对

好的嘞,大佬,这是便携版MSVC的下载开源工具,https://github.com/Data-Oriented-House/PortableBuildTools

and if I use `map` to callback directly, like below: ``` from casadi import * import time import numpy as np class test_fun(Callback): def __init__(self, name, opts = {}): Callback.__init__(self)...

In addition, if I use `def test_fun` rather than `callback`, like below: ``` from casadi import * import time import numpy as np def test_fun(x): y=x for _ in range(10000):...